]> granicus.if.org Git - curl/commit
http_pipe.py: replaced epoll with select to support Windows
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 25 Jan 2014 19:52:42 +0000 (20:52 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 25 Jan 2014 19:52:42 +0000 (20:52 +0100)
commitf55f8d4c18c857a249f396636c663dee94d65d5b
treef926d37ccc0e821c8a77972ac7a90a31449bfd7e
parent88b074df3f26f6a38e20dd281bd63fa295ea912d
http_pipe.py: replaced epoll with select to support Windows

Removed Unix-specific functionality in order to support Windows:
- select.epoll replaced with select.select
- SocketServer.ForkingMixIn replaced with SocketServer.ForkingMixIn
- socket.MSG_DONTWAIT replaced with socket.setblocking(False)

Even though epoll has a better performance and improved socket handling
than select, this change should not affect the actual test case.
tests/http_pipe.py