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
90f12cb77f
Moving parser functionality in a separate file (part 1)
2014-08-20 18:44:55 +08:00
Daniel Lowrey
cf36261e3e
Fix accidental chmod changes
2014-06-11 19:09:32 -04:00
Daniel Lowrey
79853fb161
Don't crash if work queue function fatals in thread
2014-06-10 10:58:34 -04:00
Daniel Lowrey
1fbd585948
Fix copy/paste error message typo
2014-06-10 10:58:34 -04:00
Daniel Lowrey
1e32c24608
Add signal handling support
...
- resource uv_signal_init([resource $loop])
- void uv_signal_start(resource $sigHandle, callable $onSignal, int $signal)
- void uv_signal_stop($signalResource)
Example:
<?php
$sigHandle = uv_signal_init();
$onSigint = function($sigHandle, $sigNum) {
printf("Caught signal: %d\n", $sigNum);
uv_signal_stop($sigHandle);
uv_stop();
};
uv_signal_start($sigHandle, $onSigint, UV::SIGINT);
uv_run();
New signal constants (these vary by OS):
<?php
$refl = new ReflectionClass('UV');
print_r($refl->getConstants());
2014-06-10 10:56:32 -04:00
Daniel Lowrey
096eedc215
Add uv_stop()
2014-06-10 09:11:38 -04:00
Shuhei Tanuma
2b04d12970
[http parser] add http version
2014-02-27 16:48:53 +09: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
fe317d62c0
add upgrade key
2014-02-25 16:13:00 +09:00
Shuhei Tanuma
edf8f7fab1
add note
2014-01-04 18:36:14 +09:00
Shuhei Tanuma
7d210d8033
check thread feature
2014-01-04 02:37:26 +09:00
Shuhei Tanuma
5fea385ded
remove inline flag
2014-01-03 16:27:08 +09:00
Shuhei Tanuma
6f4331d0f5
improve several things
2014-01-03 15:37:18 +09:00
brettlangdon
a7e9031c60
uv_run now needs a mode, use UV_RUN_DEFAULT
2014-01-02 18:22:12 -05:00
Shuhei Tanuma
389bb44c2f
initialize finished flag for 5.2 env
2013-09-09 16:19:09 +09:00
Shuhei Tanuma
9ab5074c77
add 5.2 support
2013-09-09 15:59:20 +09:00
Shuhei Tanuma
49f1f7d469
fix typo
2013-04-13 23:37:55 +09:00
Shuhei Tanuma
5d58144648
uv_http_parser_execute: fix #46 change function behavior.
...
result variable was set every function call.
2013-04-13 23:37:26 +09:00
Shuhei Tanuma
baed1c4758
fix segmentation fault when using uv_udp_recv_start #43
2013-03-18 22:19:36 +09:00
Shuhei Tanuma
aa399f2487
switch libuv version to stable version. #40
2013-02-28 21:52:43 +09:00
Andrey Kalinovsky
2081b0d459
Landing pull request #39 . fix uv_run_once + added a return value.
...
More Details:
- https://github.com/chobie/php-uv/pull/39
2013-02-27 02:01:37 +09:00
Shuhei Tanuma
0a7cb9757c
fix #34 . forget to initialize zval
2013-02-27 00:22:35 +09:00
Shuhei Tanuma
d600abc223
Merge pull request #35 from csaoh/fix_constants
...
Fix segfault in fs_stat
2013-02-13 01:13:48 -08:00
Andrey Kalinovsky
05bef15202
Fix codestyle
2013-02-13 10:11:16 +01:00
Andrey
57baf614f8
Fix segfault in fs_stat
2013-02-13 09:58:27 +01: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
42bfa52b1a
Merge pull request #26 from weltling/master
...
Windows fixes
2013-02-11 03:55:32 -08:00
Andrey
87a5b5d831
Fixed indentation
2013-02-07 16:15:41 +01:00
Andrey
97b329c164
Added a length parameter to read
2013-02-07 16:12:23 +01:00
Anatoliy Belsky
eaa75735e2
fixed NTS build, plus
...
- extended config.w32 to look for libs/includes in extra dirs
- fixed config.w32 to care about the sockets ext
- --enable-uv-httpparser is a better wording
- since non bundled library can be used, wording fixed in minfo
2012-11-18 21:56:26 +01:00
Shuhei Tanuma
b77f34833f
common: fix BAD ADDRESS for callback
2012-08-09 12:20:55 +09:00
Shuhei Tanuma
800897c03c
common: fix memory leak regarding handling callback zval
2012-08-05 21:42:06 +09:00
Shuhei Tanuma
6e3eb88f7c
common: uv_write check resource type
2012-07-30 00:56:41 +09:00
Shuhei Tanuma
9f6fdbce52
common: uv_close check uv resource type
2012-07-30 00:53:57 +09:00
Shuhei Tanuma
7b03433f2d
common: uv_read_Stop checks resource type
2012-07-30 00:46:07 +09:00
Shuhei Tanuma
7b2f075a12
common: uv_read_start checks resource type.
2012-07-30 00:45:21 +09:00
Shuhei Tanuma
17b1436023
unix: add type check for uv_shutdown
2012-07-30 00:40:55 +09:00
Shuhei Tanuma
89a46643ca
fix compiler error
2012-07-28 02:02:41 +09:00
Shuhei Tanuma
69aeb9f89f
listen: check uv resource types.
2012-07-28 02:02:27 +09:00
Shuhei Tanuma
1c0ed4c82c
poll: checks uv resource type
2012-07-28 01:59:01 +09:00
Shuhei Tanuma
07122e463e
httpparser: use uppercase keys
2012-07-26 12:36:25 +09:00
Shuhei Tanuma
0c6d859032
common: zval_to_fd macro should be return FALSE
2012-07-24 12:24:48 +09:00
Shuhei Tanuma
be03147188
stdio: fix unmatch cast
2012-07-24 12:15:55 +09:00
Shuhei Tanuma
03fa36a873
spawn: remove unused variable
2012-07-24 12:13:03 +09:00
Shuhei Tanuma
8b0269a3cb
httpparser: fix it
2012-07-24 01:47:02 +09:00
Shuhei Tanuma
c591f130c6
httpparser: try to fix inconsistent hash
2012-07-24 01:45:13 +09:00
Shuhei Tanuma
f39db39e8e
httpparser: fix inconsistent hash
2012-07-24 01:21:50 +09:00