Open fdur opened 6 years ago
When a HEAD command is sent, the process is not fully made. In http.c file, in http_dataAPI, seems that after
HEAD
http_data
--size; ++data;
the following code needs to be added:
if (!size) { // Case of HEAD (no body content) *read = 0; return 0; }
When a
HEAD
command is sent, the process is not fully made. In http.c file, inhttp_data
API, seems that afterthe following code needs to be added: