Source

pecl-event / classes / buffer.c

Author Commit Message Labels Comments Date
Ruslan Osmanov
Renamed EventBuffer::remove to EventBuffer::read, EventBuffer::read now takes only max_bytes argument and returns string.
Ruslan Osmanov
Fix: forgotten arg of EventBuffer::write
Ruslan Osmanov
Don't freeze buffer on substr, since libevent has it's own blocking on the buffer in evbuffer_peek
Ruslan Osmanov
Add: EventBuffer::substr
Ruslan Osmanov
Fix: build error with zts php setup
Ruslan Osmanov
Refact: automatically set the upper bound of EventBuffer::search to the buffer length, if it is greater then the length
Ruslan Osmanov
Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket
Ruslan Osmanov
Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read
Ruslan Osmanov
Fix
Ruslan Osmanov
Add: EventUtil::getSocketName method
Ruslan Osmanov
Change: make EventBuffer::search/searchEol return FALSE if string not found(instead of -1)
Ruslan Osmanov
Refact
Ruslan Osmanov
Del: EventBufferPosition class and the stuff related to it
Ruslan Osmanov
Dev
Ruslan Osmanov
Fix: memory leak in EventBuffer::readLine
Ruslan Osmanov
Change: Event:: property removed; generic Event:: property added
Ruslan Osmanov
Doc
Ruslan Osmanov
Add: EventBufferEvent input and output properties (cached)
Ruslan Osmanov
Fix: had to dup string returned by EventBuffer::readLine
Ruslan Osmanov
del redundant arg in EventBuffer:readline
Ruslan Osmanov
Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups
Ruslan Osmanov
Add: EventBuffer::setPosition method
Ruslan Osmanov
Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups
Ruslan Osmanov
Add: EventBufferEvent::$priority property
Ruslan Osmanov
Added some properties
Ruslan Osmanov
Refact: separate dirs for classes and the main ext source