Commit Graph

77 Commits

Author SHA1 Message Date
Bob Weinand
99312394a7 Update examples 2020-02-15 22:36:03 +01:00
Bob Weinand
532ad87307 Fix async example (Closes #80) 2020-02-15 18:11:57 +01:00
Bob Weinand
b05e148986 Fix arginfo 2020-02-15 12:02:39 +01:00
Bob Weinand
79d8aaa0bd Fix #50: bad fsevent example 2017-08-21 08:54:34 -04:00
Bob Weinand
567ca4f30b Fix #18 remove all traces of http parser 2016-10-30 00:57:41 +02:00
Shuhei Tanuma
8623e5018c example: fix memory leak for simple_http_server 2012-08-11 14:43:29 +09:00
Shuhei Tanuma
74a64409dc spawn: fix segv 2012-07-24 01:00:37 +09:00
Shuhei Tanuma
1dd205fe12 fs_poll: check resource type 2012-07-24 00:21:47 +09:00
Shuhei Tanuma
4bf5f591ed constants: add several error codes. and add simple(?) http server example 2012-07-23 22:50:06 +09:00
Shuhei Tanuma
9a55c5e270 spawn: fix memory leak when using file descriptor 2012-07-23 22:16:05 +09:00
Shuhei Tanuma
be24fe6155 docs: add uv_stdio_new function 2012-07-23 00:08:05 +09:00
Shuhei Tanuma
0a2b0751c1 spawn: change function signature. add uv_stdio_new function 2012-07-22 21:54:19 +09:00
Shuhei Tanuma
9a9de96cee docs: don't put docs into source code. too long 2012-07-22 14:06:52 +09:00
Shuhei Tanuma
0ad997171b uv_udp: check resource type 2012-07-21 15:53:44 +09:00
Shuhei Tanuma
395806f1ea uv_timer_start: check timeout and repeat value 2012-07-21 00:32:35 +09:00
Shuhei Tanuma
9296da2a2c remove needlses line 2012-07-20 23:56:46 +09:00
Shuhei Tanuma
7a37f8f3c1 uv_streror: type check and refactor 2012-07-20 00:24:17 +09:00
Shuhei Tanuma
32ea5e154f adjust poll example [ci skip] 2012-07-16 00:10:55 +09:00
Shuhei Tanuma
61a05cbc96 uv_fs*: callback parameter fd passes given PHPs stream, socket or file descriptor. 2012-07-15 23:47:49 +09:00
Shuhei Tanuma
157f6ca7e2 adjust fs_poll sample 2012-07-15 22:54:56 +09:00
Shuhei Tanuma
0889a8c983 too big 2012-07-15 18:34:30 +09:00
Shuhei Tanuma
05ced3dc95 update readme 2012-07-15 18:32:04 +09:00
Shuhei Tanuma
141de07e0e now, uv_fs functions accepts php's stream, socket and fd 2012-07-15 03:56:29 +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
e1904a6d25 - use fci and fcc instead of zval. 2012-07-11 13:07:08 +09:00
Shuhei Tanuma
2da0e2b198 fix typo 2012-07-11 13:07:08 +09:00
Shuhei Tanuma
456e50c7e8 refactor resource initializer 2012-07-10 23:44:54 +09:00
Shuhei Tanuma
9e603ef603 add poll api 2012-07-09 12:24:35 +09:00
Shuhei Tanuma
4e4f9dc0ab WIP: uv_queue_work 2012-07-07 22:57:42 +09:00
Shuhei Tanuma
0bc6c44146 WIP: uv_queue_work 2012-07-07 22:50:35 +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
32bc6e6cfb refactor tcp_bind 2012-07-07 19:23:22 +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
2edefe2d55 prevent SEGV when throws Fatal error on callback context. 2012-07-02 23:37:44 +09:00
Shuhei Tanuma
4852ac5a5c change function signature: uv_udp_recv, uv_udp_recv_start 2012-07-01 22:35:22 +09:00
Shuhei Tanuma
7cee41bbb7 change function signature. (respects native function signature) 2012-07-01 22:28:57 +09:00
Shuhei Tanuma
db85553439 add http server sample 2012-07-01 21:58:12 +09:00
Shuhei Tanuma
65c638fdef add error handling 2012-07-01 20:09:38 +09:00
Shuhei Tanuma
c55cfa3c21 fix request example 2012-07-01 09:01:08 +09:00
Shuhei Tanuma
b9d2debe61 for now, add uv_read2 2012-07-01 08:25:16 +09:00
Shuhei Tanuma
5a49f3a1fc fix idle test case 2012-07-01 02:04:03 +09:00
Shuhei Tanuma
f633aa788c change uv_read_start signature. 2012-06-30 22:15:29 +09:00
Shuhei Tanuma
b97ae4dcb5 fix uv_spawn. I should consider uv_spawn params. 2012-06-25 01:29:22 +09:00
Shuhei Tanuma
61a56b15a7 adjust getaddrinfo api 2012-06-24 03:34:06 +09:00
Shuhei Tanuma
5754a59f4a add getsockname and getpeername api 2012-06-23 20:27:57 +09:00
Shuhei Tanuma
60d9842928 add fs_event_init api (not tested) 2012-06-23 14:18:52 +09:00
Shuhei Tanuma
ff0e26ed84 add stat api 2012-06-23 13:00:27 +09:00
Shuhei Tanuma
0f28e7f5ee add readlink api 2012-06-23 11:22:41 +09:00