Commit Graph

64 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
Steve Rhoades
a026d7526a update test, just checking for no segfault 2014-11-14 02:26:36 +00:00
Steve Rhoades
f2052a38f1 fix notice 2014-11-14 02:15:36 +00:00
Steve Rhoades
2408f16a7a Fix issue #36, Fix issue #56, uv_poll no longer allows plainfiles or php related streams resolving a SIGABRT as epoll doesn't support those stream types 2014-11-14 02:01:07 +00:00
Steve Rhoades
dd9aac9abb Fix Issue #59 segfault on null passed as handle to uv_stdio_new 2014-11-13 02:20:21 +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
Steve Rhoades
9d6e66d516 add test for fs_close issue described in #36, updating travis build 2014-11-10 17:08:39 +00:00
Steve Rhoades
59f74ea017 fix issue with uv_loop_new based on 1.0 migration guide, add additional tests 2014-11-10 04:30:57 +00:00
Steve Rhoades
1ea6c5aca4 update for libuv 1.0.0rc2, updated tests for api changes 2014-11-07 21:42:17 +00:00
Tjerk Meesters
99c345c51d Fixed test case to include version being returned as part of the parser results 2014-08-21 17:58:13 +08:00
Tjerk Meesters
91ee8f491a Fixed off-by-one overflow, updated test case 2014-08-20 22:10:40 +08:00
Tjerk Meesters
be7ff58ae1 Fixed a few test cases 2014-08-20 22:10:40 +08:00
Daniel Lowrey
096eedc215 Add uv_stop() 2014-06-10 09:11:38 -04:00
Shuhei Tanuma
951622a3aa improve http parser:
* support multiple line header field and value.
* support http upgrade mechanism (you have to parse websocket protocol manually)
2014-02-25 17:17:34 +09:00
Shuhei Tanuma
edf8f7fab1 add note 2014-01-04 18:36:14 +09:00
Shuhei Tanuma
6af6b98664 fix test case: poll can't use for file descriptor on most platform 2014-01-04 03:58:02 +09:00
Shuhei Tanuma
aa399f2487 switch libuv version to stable version. #40 2013-02-28 21:52:43 +09:00
Shuhei Tanuma
0a7cb9757c fix #34. forget to initialize zval 2013-02-27 00:22:35 +09: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
Andrey
2aecc360a3 Added missing constants 2013-01-31 17:54:13 +01:00
Shuhei Tanuma
07122e463e httpparser: use uppercase keys 2012-07-26 12:36:25 +09:00
Shuhei Tanuma
4dd2ed56fa test: fix test case for uv_spawn 2012-07-22 22:11:22 +09:00
Shuhei Tanuma
0a2b0751c1 spawn: change function signature. add uv_stdio_new function 2012-07-22 21:54:19 +09:00
Shuhei Tanuma
515e4071fa add uv_fs_sendfile test case.
TODO: obtain file handle from php_uv resource.
2012-07-15 00:45:06 +09:00
Shuhei Tanuma
72853ee180 prevent dead lock for fs_poll test case 2012-07-13 00:29:00 +09:00
Shuhei Tanuma
8f262a3f70 add fs_poll_start/stop functions 2012-07-09 01:27:02 +09:00
Shuhei Tanuma
9f3e5f3cdd change timer cb signature 2012-07-09 01:26:42 +09:00
Shuhei Tanuma
89aba91e94 add udp_send6 function 2012-07-08 23:24:31 +09:00
Shuhei Tanuma
ed796132a5 fix test case for uv_queue_work. 2012-07-07 22:58:39 +09:00
Shuhei Tanuma
4e4f9dc0ab WIP: uv_queue_work 2012-07-07 22:57:42 +09:00
Shuhei Tanuma
4ff8b7b77f add uv_tty test case 2012-07-07 22:28:47 +09:00
Shuhei Tanuma
7b8a99fe0f change uv_async callback signature 2012-07-07 22:02:57 +09:00
Shuhei Tanuma
48e9255d86 change uv_check and uv_prepare callback signature 2012-07-07 21:36:52 +09:00
Shuhei Tanuma
f3105a07a7 fix uv_tcp_bind6 2012-07-07 00:20:22 +09:00
Shuhei Tanuma
deec04d4c2 add uv_ip test cases 2012-07-06 23:42:31 +09:00
Shuhei Tanuma
3276e0abf8 fix test case title 2012-07-06 23:41:59 +09:00
Shuhei Tanuma
7c4139377a add constant for testing fs 2012-07-05 22:54:10 +09:00
Shuhei Tanuma
302d9ae0a1 WIP: fixing fs event 2012-07-04 09:40:06 +09:00
Shuhei Tanuma
01c508816c add http parser test case 2012-07-03 23:12:32 +09:00
Shuhei Tanuma
55d64354bc add mkdir, rmdir test casee 2012-07-03 23:10:05 +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
Shuhei Tanuma
1733e1e404 add pipe_bind test case 2012-07-03 08:01:32 +09:00
Shuhei Tanuma
29c0942423 add udp test case 2012-07-02 23:27:43 +09:00
Shuhei Tanuma
d3d245d4fc add tcp bind test 2012-07-02 13:32:19 +09:00
Shuhei Tanuma
7cee41bbb7 change function signature. (respects native function signature) 2012-07-01 22:28:57 +09:00
Shuhei Tanuma
abfa2254b9 for now, fix uv_spawn test case 2012-07-01 12:40:02 +09:00
Shuhei Tanuma
56bdf3b76f add pending parameter. 2012-07-01 08:42:50 +09:00
Shuhei Tanuma
5a49f3a1fc fix idle test case 2012-07-01 02:04:03 +09:00