Don't leave content-length on empty response

This commit is contained in:
Alex Hultman
2018-12-29 14:27:50 +01:00
parent 6befbd4a37
commit d597041ca4
5 changed files with 18 additions and 14 deletions
-5
View File
@@ -41,13 +41,8 @@ protected:
);
}
// we need a type safe realType = getData<MiddleType>
/* Get socket extension */
void *getExt() {
// we might have multiple inheritance so need to know the middle type
return static_dispatch(us_ssl_socket_ext, us_socket_ext)((SOCKET_TYPE *) this);
}