Add todo and fix comments

This commit is contained in:
2023-07-05 00:42:06 +02:00
parent 52ebad201f
commit a9fbd21f80
2 changed files with 2 additions and 1 deletions

View File

@ -351,6 +351,7 @@ int fastcgi_header(fastcgi_cnx_t *cnx, http_res *res, char *err_msg) {
return -1;
}
long header_len = h_pos - content + 4;
// TODO use payload after header in first chunk
for (int i = 0; i < header_len; i++) {
if ((buf[i] >= 0x00 && buf[i] <= 0x1F && buf[i] != '\r' && buf[i] != '\n') || buf[i] == 0x7F) {

View File

@ -1,7 +1,7 @@
/**
* sesimos - secure, simple, modern web server
* @brief FastCGI frame handler
* @file src/worker/fcti_frame_handler.c
* @file src/worker/fastcgi_frame_handler.c
* @author Lorenz Stechauner
* @date 2023-01-22
*/