Browse Source

Reset http request input array on error case

dynamic-accesslists
erdgeist 14 years ago
parent
commit
730d4bb6ae
  1. 1
      ot_http.c

1
ot_http.c

@ -69,6 +69,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) { @@ -69,6 +69,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
tai6464 t;
if( !( outbuf = malloc( ws->reply_size - written_size ) ) ) {
array_reset( &cookie->request );
free(cookie); io_close( sock );
return;
}

Loading…
Cancel
Save