Changeset 3fbce97 for lib/http_client.c
- Timestamp:
- 2016-09-24T20:14:34Z (8 years ago)
- Children:
- ba52ac5
- Parents:
- 63cad66 (diff), 82cb190 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/http_client.c
r63cad66 r3fbce97 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.