Merged in rickysu/pecl-event/master (pull request #2)
1c69239·Author: Ruslan Osmanov·Closed by: Ruslan Osmanov·2013-09-23
Description
I add some methods for EventHttpRequest class.
getEventBufferEvent is for buffering event output. getEventHttpConnection is a method to get EventHttpConnection closeConnection is for special use. By default, evhttp_connection_get_bufferevent does not set BEV_OPT_CLOSE_ON_FREE flag. so, socket will not close while calling EventBufferEvent::free().
I add some methods for EventHttpRequest class.
getEventBufferEvent is for buffering event output. getEventHttpConnection is a method to get EventHttpConnection closeConnection is for special use. By default, evhttp_connection_get_bufferevent does not set BEV_OPT_CLOSE_ON_FREE flag. so, socket will not close while calling EventBufferEvent::free().