Changes in lib/http_client.c [5ebff60:0db6618]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/http_client.c
r5ebff60 r0db6618 162 162 } 163 163 164 req->func(req); 164 if (req->func != NULL) { 165 req->func(req); 166 } 165 167 http_free(req); 166 168 return FALSE; … … 299 301 } 300 302 301 req->func(req); 303 if (req->func != NULL) { 304 req->func(req); 305 } 302 306 http_free(req); 303 307 return FALSE; … … 412 416 } 413 417 414 if ((req->flags & HTTPC_STREAMING) && req->reply_body ) {418 if ((req->flags & HTTPC_STREAMING) && req->reply_body && req->func != NULL) { 415 419 req->func(req); 416 420 } … … 696 700 ssl_disconnect(req->ssl); 697 701 } else { 698 closesocket(req->fd);702 proxy_disconnect(req->fd); 699 703 } 700 704
Note: See TracChangeset
for help on using the changeset viewer.