pecl-event / classes / listener.c

Author Commit Message Labels Comments Date
Ruslan Osmanov avatarRuslan Osmanov
Fix: bug #64679 where we had buffer overflow caused by struct sockaddr_storage * pointer
Tags
1.6.2
Ruslan Osmanov avatarRuslan Osmanov
Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket
Ruslan Osmanov avatarRuslan Osmanov
Fix: garbage in the port argument of listener accept cb
Ruslan Osmanov avatarRuslan Osmanov
Fix: memory leak when EventListener::__construct failed
Ruslan Osmanov avatarRuslan Osmanov
Fix
Ruslan Osmanov avatarRuslan Osmanov
Add: support of UNIX domain sockets in EventListener::__construct, EventBufferEvent::connect methods
Ruslan Osmanov avatarRuslan Osmanov
Add: EventListener::getSocketName method
Ruslan Osmanov avatarRuslan Osmanov
Fix: no need to check for HAVE_INET_NTOP since we use libevent's utility for ntop
Ruslan Osmanov avatarRuslan Osmanov
Change: EventHttpRequest::sendError's reason param made optional
Tags
1.4.0-beta
Ruslan Osmanov avatarRuslan Osmanov
Fix: With OPT_LEAVE_SOCKETS_BLOCKING flag EventListener::__construct turned fd to non-blocking mode
Ruslan Osmanov avatarRuslan Osmanov
Refact: move Z_ADDREF_P(self) from callbacks to __construct and factory methods of EventBufferEvent and EventListener
Ruslan Osmanov avatarRuslan Osmanov
Fix: possible heap corruption in EventListener's callback
Ruslan Osmanov avatarRuslan Osmanov
Change: instead of stream pass numeric file descriptor to EventListener's accept-connection callback
Ruslan Osmanov avatarRuslan Osmanov
Fix: EventListener cached file descriptor for all connections
Ruslan Osmanov avatarRuslan Osmanov
Add: EventBufferEvent::$priority property
Ruslan Osmanov avatarRuslan Osmanov
Many memory usage fixes and enhancements
Ruslan Osmanov avatarRuslan Osmanov
Refact: separate dirs for classes and the main ext source
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.