Source

pecl-event / classes / listener.c

Author Commit Message Labels Comments Date
Anatol Belski
further windows fixes - uninitialized memory usage - invalid socket check - deactivated openssl as the current libevent distribution doesn't provide it for windows
Anatol Belski
very basic windows support
Ruslan Osmanov
Merge branch 'master' of ssh://bitbucket.org/osmanov/pecl-event
Ruslan Osmanov
Fix: build on solaris
Ruslan Osmanov
Fix: build error on Solaris(when sockaddr_un was not available)
Ruslan Osmanov
Fix: bug #64679 where we had buffer overflow caused by struct sockaddr_storage * pointer
Tags
1.6.2
Ruslan Osmanov
Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket Add: EventBuffer::write, EventUtil::setSocketOption methods and some constants
Ruslan Osmanov
Fix: garbage in the port argument of listener accept cb
Ruslan Osmanov
Fix: memory leak when EventListener::__construct failed Del: EventBufferEvent::connectUnix, it's function moved to the connect method Change: family arg removed from EventBufferEvent::connect, EventListener::__construct
Ruslan Osmanov
Fix
Ruslan Osmanov
Add: support of UNIX domain sockets in EventListener::__construct, EventBufferEvent::connect methods
Ruslan Osmanov
Add: EventListener::getSocketName method Preparing for 1.5.0 stable
Ruslan Osmanov
Fix: no need to check for HAVE_INET_NTOP since we use libevent's utility for ntop
Ruslan Osmanov
Change: EventHttpRequest::sendError's reason param made optional Tiny fixes
Tags
1.4.0-beta
Ruslan Osmanov
Fix: With OPT_LEAVE_SOCKETS_BLOCKING flag EventListener::__construct turned fd to non-blocking mode
Ruslan Osmanov
Refact: move Z_ADDREF_P(self) from callbacks to __construct and factory methods of EventBufferEvent and EventListener
Ruslan Osmanov
Fix: possible heap corruption in EventListener's callback
Ruslan Osmanov
Change: instead of stream pass numeric file descriptor to EventListener's accept-connection callback
Ruslan Osmanov
Fix: EventListener cached file descriptor for all connections
Ruslan Osmanov
Add: EventBufferEvent::$priority property Fix: event and bevent free methods
Ruslan Osmanov
Many memory usage fixes and enhancements Add: EventBufferEvent ref and free methods examples/listener.php: converted to oop api
Ruslan Osmanov
Refact: separate dirs for classes and the main ext source Change: moved global EVENT_* constants to corresponding classes