Fixed bug with writing responses
Connections are now closed after response is send if client requested "Connection: close"
This commit is contained in:
@@ -67,7 +67,7 @@ extern "C" {
|
||||
extern UT_icd http_header_icd;
|
||||
|
||||
#define HTTP_HEADER_FOREACH(list, elem) \
|
||||
for ( http_header *elem= (http_header*)utarray_next(list,NULL); \
|
||||
for (elem= (http_header*)utarray_next(list,NULL); \
|
||||
elem!= NULL; \
|
||||
elem=(http_header*)utarray_next(list,elem))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user