* Fixed: HTTP/1 multiple write requests in single session appended data between writes, eg PUT+PUT.

This commit is contained in:
Olof hagsand 2022-03-28 22:55:43 +02:00
parent 3d59077894
commit 9690e0d8f2
4 changed files with 8 additions and 0 deletions

View file

@ -706,6 +706,7 @@ restconf_http1(restconf_conn *rc,
cvec_reset(sd->sd_outp_hdrs); /* Can be done in native_send_reply */
cbuf_reset(sd->sd_outp_buf);
cbuf_reset(sd->sd_inbuf);
cbuf_reset(sd->sd_indata);
if (rc->rc_exit){ /* Server-initiated exit */
SSL_free(rc->rc_ssl);
rc->rc_ssl = NULL;