Bob Weinand
e5a1402674
Fix comparison
2015-11-16 14:49:42 +01:00
Bob Weinand
7897f4a11d
Merge pull request #5 from steverhoades/issue/4
...
fixes #4 need to check for valid epoll fd before doing any stream casting
2015-11-09 07:02:38 +01:00
Steve Rhoades
d173e68437
fixes #4 need to check for valid epoll fd before doing any stream casting.
2015-11-08 21:19:50 -08:00
Bob Weinand
32ace95b53
Always auto-close handles (do not risk an assertion failure)
2015-08-18 03:46:26 +02:00
Bob Weinand
389e5c2f25
Fix segfault upon invalid scandir
2015-08-08 16:53:18 +02:00
Bob Weinand
8c0953ba85
Replace various zval_dtor()s by zval_ptr_dtor()
...
This caused crashes when the passed variable had a refcount > 1 when moved out of callback scope
2015-08-07 18:25:29 +02:00
Bob Weinand
f8db087b79
Merge pull request #3 from rdlowrey/patch-1
...
Add missing signal stream cast
2015-07-31 13:11:05 +02:00
Daniel Lowrey
f04e8740d8
Add missing signal stream cast
2015-07-30 23:09:35 -04:00
Bob Weinand
578dda8450
Minor bug fixes & adapt for recent resource API changes
2015-02-11 01:30:18 +01:00
Bob Weinand
ce9f86d930
Merge pull request #2 from rdlowrey/master
...
Fix polling for STDIO and crypto socket handles
2015-02-03 07:32:58 +01:00
Daniel Lowrey
17993cf5da
Merge branch 'crypto-socket-fix'
...
Conflicts:
php_uv.c
2015-02-03 01:31:15 -05:00
Daniel Lowrey
5554a21485
Fix undefined return
2015-02-03 01:29:17 -05:00
Daniel Lowrey
5223a36b25
Fix polling for STDIO and crypto socket handles
2015-02-03 01:15:30 -05:00
Daniel Lowrey
ec7e067ba2
Fix polling for STDIO and crypto socket handles
2015-02-03 01:14:58 -05:00
Bob Weinand
25fa65eebe
Make ext/sockets optional
2015-01-23 22:56:57 +01:00
Bob Weinand
ad1f4c5575
Merge pull request #1 from rdlowrey/master
...
Fix broken uv_fs_read() functionality
2015-01-22 22:26:17 +01:00
Daniel Lowrey
544b69442c
Fix broken uv_fs_read() functionality
2015-01-22 16:06:22 -05:00
Bob Weinand
7bc813596d
Fixed missing refcount increment
2015-01-21 17:04:49 +01:00
Bob Weinand
f5b1e9d14e
Fix accidental regression in checking for invalid resource
2015-01-21 16:16:26 +01:00
Bob Weinand
74096ae99c
Fix buffer overflow
2015-01-18 18:51:49 +01:00
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
99791cf3b4
updating to libuv 1.0 release
2014-11-20 19:47:35 +00:00
Steve Rhoades
42361ad0c5
fix segfault issue caused by uv_unref deleting resource, resource is freed by destruct_uv
2014-11-17 16:48:57 +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
Steve Rhoades
73a295abc9
cleanup uv_fs_scandir
2014-11-12 15:52:08 +00:00
Steve Rhoades
459b61462a
fix uv_fs_scandir
2014-11-12 15:49:12 +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
Steve Rhoades
84d7e09ce6
saving changes, still 3 failing tests
2014-11-07 18:40:12 +00:00
Shuhei Tanuma
5817bfe4b0
Merge pull request #57 from datibbaw/build-fixups
...
Assorted fixes
2014-08-27 04:46:03 +09:00
Tjerk Meesters
f2389fc530
Added the '-lrt' CFLAG for linux arch back again
2014-08-21 18:14:25 +08:00
Tjerk Meesters
8b5ffcfaa6
Added 5.4 and 5.5 as targets, quiet the 'apt-get update' command
2014-08-21 18:14:03 +08:00
Tjerk Meesters
c8aae4227b
Update Travis to enable http parser
2014-08-21 18:00:16 +08:00
Tjerk Meesters
89d25e6c14
Add 'sockets' dependency
2014-08-21 17:58:30 +08: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
9308a0ed05
Removed debug code
2014-08-21 17:52:31 +08:00
Tjerk Meesters
bdaf5a0bb8
Enabled http parser again
2014-08-21 08:31:25 +08:00
Tjerk Meesters
39a7fe3c7e
Fixed off-by-one buffer issue in uv_exepath()
2014-08-20 22:10:40 +08:00
Tjerk Meesters
91ee8f491a
Fixed off-by-one overflow, updated test case
2014-08-20 22:10:40 +08:00
Tjerk Meesters
b035466c66
Disable http parser by default for now
2014-08-20 22:10:40 +08:00
Tjerk Meesters
be7ff58ae1
Fixed a few test cases
2014-08-20 22:10:40 +08:00
Tjerk Meesters
3beb67167f
Updated Travis configuration to work with --with-uv[=DIR]
2014-08-20 22:10:10 +08:00
Tjerk Meesters
90f12cb77f
Moving parser functionality in a separate file (part 1)
2014-08-20 18:44:55 +08:00