We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce4161c commit d56d588Copy full SHA for d56d588
src/lib/lwan-mod-fastcgi.c
@@ -423,6 +423,13 @@ static void reset_additional_header(void *data)
423
static enum lwan_http_status
424
try_initiating_chunked_response(struct lwan_request *request)
425
{
426
+ if (request->flags & REQUEST_IS_HTTP_1_0) {
427
+ /* Chunked encoding is not supported in HTTP/1.0. We don't have a
428
+ * way to buffer the responses in this module yet, so return an
429
+ * error here. */
430
+ return HTTP_NOT_IMPLEMENTED;
431
+ }
432
+
433
struct lwan_response *response = &request->response;
434
char *header_start[N_HEADER_START];
435
char *next_request;
0 commit comments