Skip to content

Commit

Permalink
Fixed swoole_http_response::end() error.
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Oct 29, 2014
1 parent 994f79e commit 7ca9053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swoole_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ static int http_request_new(http_client* client TSRMLS_DC)
zend_update_property(swoole_http_request_class_entry_ptr, zrequest, ZEND_STRL("header"), header TSRMLS_CC);

client->zrequest = zrequest;
client->end = 0;
bzero(&client->request, sizeof(client->request));
bzero(&client->response, sizeof(client->response));
return SW_OK;
Expand Down

0 comments on commit 7ca9053

Please sign in to comment.