[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Ticket #70 - Support for epoll's EPOLLRDHUP



On 12/29/13, 4:46 PM, Nick Mathewson wrote:
I like the design sketch above; I'd personally recommend starting out
by writing the patch to include/event2/event.h for API/documentation
review, and then working on the implementation stuff and the unit
tests.

(I'm calling it "API/documentation review" since writing the
documentation first helps make sure that the API is actually good.
Sometimes, my good-looking APIs turn out to be completely ugly when I
start having to explain how they work.)


Nick, I created a pull request[1] to the main libevent github repository. Since the patch wasn't large I opted to fully implement it already. The pull request also contains a test-case (test-early-eof).

Hope you guys can review it.
Thanks!

[1] https://github.com/libevent/libevent/pull/92

--
Diego Giagio
diego@xxxxxxxxxx
diego@xxxxxxxxxxx
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.