Commit Graph

6 Commits

Author SHA1 Message Date
Bob Weinand
4751e80a65 Fix various bugs... 2015-01-18 17:24:13 +01:00
Bob Weinand
4332fe7aa1 Current, broken PHP 7 port... 2015-01-18 02:58:40 +01:00
Steve Rhoades
605a20a568 merging offset changes from PR #60 2014-11-23 18:02:03 +00:00
Daniel Lowrey
a25595f43a Add $offset param to uv_fs_read() to allow seeking on open handles
This change modifies the uv_fs_read() function signature slightly by adding
a new $offset parameter. This allows the same file handle to be reused for
multiple reads. Previously the only way to access a section of a file that
had already been read was to open a new handle.

Old:
uv_fs_read(resoruce $loop, zval $fd, long $length, callable $callback)

New:
uv_fs_read(resoruce $loop, zval $fd, long $offest, long $length, callable $callback)

This change represents a minor BC break for existing code using uv_fs_read().
2014-11-11 10:47:44 -05:00
Shuhei Tanuma
90c9db6905 update latest libuv and http-parser
Notes: ares functions are removed as uv removed that features. please use before commit
if you want to use ares features. currently, php ares extension seems not maintained.
please ask me when you met some troubles about ares feature.
2013-02-11 22:09:29 +09:00
Shuhei Tanuma
f6a2bd4858 change uv_fs_read cb signature: use same callback signature as uv_read_cb 2012-07-03 08:20:50 +09:00