9 Aug
2024
9 Aug
'24
6:07 p.m.
Elizabeth Figura (@zfigura) commented about dlls/http.sys/http.c:
{ if (send(conn->socket, response->buffer, response->len, 0) >= 0) { - if (conn->content_len) - { - /* Discard whatever entity body is left. */ - memmove(conn->buffer, conn->buffer + conn->content_len, conn->len - conn->content_len); - conn->len -= conn->content_len; + /* Clean up the connection if we are not sending more response data. */ + if (response->response_flags != HTTP_SEND_RESPONSE_FLAG_MORE_DATA) {
Brace on a new line, please, to match the existing style. There's another instance in 4/4. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6216#note_78211