Commit Graph

64 Commits

Author SHA1 Message Date
David Feng
a9fc577560 fix typo
fix a little mistake
2015-12-17 15:53:39 +08:00
Cloud Wu
d4d188541f add socket.close_fd 2015-12-06 16:48:28 +08:00
Cloud Wu
91c720ad6f add assert for socket fd reuse 2015-11-19 22:51:43 +08:00
Cloud Wu
7521fe0530 socket.shutdown abandon unsend buffer now, see issue #371 2015-11-11 10:44:50 +08:00
Cloud Wu
935863f434 report connect failed reason 2015-10-28 16:12:01 +08:00
Cloud Wu
c1c032eab4 bugfix: socketchannel order mode may blocked. (used by redis driver) 2015-10-14 20:12:30 +08:00
Cloud Wu
b8f419eb69 more error message for socket, and close listen socket when reach limit of open files. See Issue #339 2015-09-15 14:52:30 +08:00
Cloud Wu
947727e33a add new socket message WARNING 2015-08-11 13:21:24 +08:00
Cloud Wu
03399e86a9 udp api changed, callback recv the string 2015-04-09 12:49:40 +08:00
Cloud Wu
0e20fe5b4e fix typo 2014-12-15 18:05:38 +08:00
Cloud Wu
b3cf1bc625 remove unused code 2014-11-13 12:14:02 +08:00
Cloud Wu
cfe9506a5a add UDP support, and TCP listen support ipv6 now 2014-11-12 23:00:44 +08:00
Cloud Wu
d0c4a4012a clear socket when connect failed 2014-08-22 15:41:05 +08:00
Cloud Wu
18f20425a0 httpd don't need readline now 2014-07-23 12:19:48 +08:00
Cloud Wu
3a5de32ad0 add socket.limit for defence 2014-07-12 20:30:02 +08:00
Cloud Wu
4e2dc64f8f Merge branch 'master' into dev 2014-06-21 18:03:24 +08:00
Cloud Wu
d910686cb8 cluster bugfix : add socket.header to decode bigendian header 2014-06-21 18:03:08 +08:00
Cloud Wu
9937081854 Redesign harbor/master/dummy service 2014-06-21 17:01:59 +08:00
Cloud Wu
ff155c623e bugfix: stdin is 0 2014-05-16 14:31:27 +08:00
Cloud Wu
aa65dac9ed Rewrite socketchannel, make it clear. 2014-04-25 11:53:30 +08:00
Cloud Wu
f7783d3881 bugfix: socket channel reconnect 2014-04-24 23:08:35 +08:00
Cloud Wu
0e5f17e232 add socket.bind 2014-04-22 20:28:54 +08:00
Cloud Wu
6adf5435b5 Add low priority list to socket send buffer 2014-04-15 21:35:34 +08:00
Cloud Wu
103602259a bugfix: socket.block will block socket.close 2014-03-26 14:48:28 +08:00
Cloud Wu
911380d8b2 socketchannel is an independent mod now, channel:request will throw channel.error when disconnected. 2014-03-25 13:31:06 +08:00
Cloud Wu
20db82dc97 bugfix: auth before connected 2014-03-25 13:31:06 +08:00
Cloud Wu
90c947047c add socket.response to support redis watch mode 2014-03-25 13:31:06 +08:00
Cloud Wu
1eb775a326 introduce socket.channel, and rewrite redis/mongo driver 2014-03-25 13:31:06 +08:00
Cloud Wu
c6efe2cd19 support socket.abandon / socket.start , Issue #73 2014-03-14 11:02:00 +08:00
Cloud Wu
b9aefc3ebc add comment for socket.close 2014-03-12 14:39:30 +08:00
Cloud Wu
7989daf9bb bugfix: mongo driver runCommand , and fix socket.close 2014-03-12 14:11:45 +08:00
云风
4fd53c1364 socket.readall return false when disconnected 2014-02-24 16:46:49 +08:00
云风
5944668796 driver.drop need 2 argument 2014-02-21 15:48:57 +08:00
云风
ac6a140130 fix typo 2014-02-06 18:33:58 +08:00
云风
331c8009f8 remove magic number in lua 2013-12-18 22:42:10 +08:00
云风
3327bb7f82 queue lock request in socket, fix issue #51 2013-10-28 13:35:28 +08:00
云风
554a8b59f4 fix Issue #44 2013-10-08 10:40:16 +08:00
云风
52cf864037 some bugfix for gate/socket lib 2013-08-24 00:14:01 +08:00
云风
1b5652e374 add cond_wait for socket message 2013-08-23 19:41:11 +08:00
云风
35b0f28fcc socket accept can do more than once for transfer 2013-08-22 18:58:52 +08:00
云风
4d8390ba66 redis driver: unlock before assert failed 2013-08-22 18:09:45 +08:00
云风
e074076c8d socket lock/unlock 2013-08-22 17:56:20 +08:00
云风
06ee4297df new socket lib 2013-08-22 17:28:26 +08:00
云风
41ee1aae4f socket bind 2013-08-13 10:42:21 +08:00
云风
940abe6dff add mongo driver from lua-mongo project (wip) 2013-07-30 14:51:26 +08:00
云风
ba22224a4a add QUERY command to query local service address 2013-07-29 21:05:03 +08:00
云风
e6667d5a32 socket.write return nil when write to a closed fd 2013-07-24 14:22:04 +08:00
云风
39126c120f socket.open can return error 2013-07-23 12:13:46 +08:00
云风
300300853b 1. none blocking connect ; 2. socket.readall ; 3.socket.readline will return last line ; 4. lua service report launcher error 2013-07-22 21:09:38 +08:00
云风
fb298aaf2c bugfix: socket read lock/unlock 2013-06-28 13:32:07 +08:00