Commit Graph
193 Commits
Author SHA1 Message Date
xtaciandGitHub faf9830239 Merge pull request #5 from AudriusButkevicius/master
Add WriteDeadline
2016-11-12 18:05:07 +08:00
Audrius Butkevicius 8510e3505d Add WriteDeadline 2016-11-12 07:25:04 +00:00
xtaci 60c611f2ff return io.EOF when cmdRST arrives 2016-11-08 22:17:32 +08:00
xtaci ee8b5b54eb 64bit atomic operations are not guaranteed on 32-bit cpu, replace with
atomic.Value
2016-11-01 22:42:55 +08:00
xtaciandGitHub 2ce5f9997b Merge pull request #4 from getlantern/master
Added ability to set read deadline
2016-11-01 20:58:59 +08:00
Ox Cart f46f1e9066 Added ability to set read deadline 2016-11-01 07:52:27 -05:00
xtaci 9d1cf796b3 optimize returnTokens 2016-10-27 11:43:32 +08:00
xtaci 6250093011 reduce memory footprint v1.0.3 2016-10-25 14:29:46 +08:00
xtaci 3f1c00c8d6 upd README 2016-10-09 10:54:55 +08:00
xtaci f0b194951a upd README 2016-10-09 10:54:18 +08:00
xtaci 9f2b528a60 fix a potential race in closing stream.die v1.0.2 2016-09-22 18:26:45 +08:00
xtaci bc68dab0d6 force a signal to the recvloop 2016-09-19 16:18:11 +08:00
xtaci 82139aec73 minor fix 2016-09-09 18:11:27 +08:00
xtaci bcd7a0bf02 upd test 2016-09-09 17:29:29 +08:00
xtaci 87ca05a080 simplification 2016-09-09 17:26:07 +08:00
xtaci c2aeb5b3d1 update test v1.0.1 2016-09-08 15:54:36 +08:00
xtaci f75ca5badb optimize stream.Write 2016-09-08 12:39:57 +08:00
xtaci 88f1e7a2c0 upd test 2016-09-08 11:29:49 +08:00
xtaci eacccc2789 lint v1.0.0 2016-09-07 13:45:14 +08:00
xtaci f78c3064f7 lint 2016-09-06 16:23:36 +08:00
xtaci 80ac1aabb4 remove unused var 2016-09-06 16:14:46 +08:00
xtaci 65fcb35acc optimize sessionClose 2016-09-06 14:54:18 +08:00
xtaci 0f75c59576 remove unused variables 2016-09-06 12:55:51 +08:00
xtaci ef79e4e56d rename 2016-09-06 12:37:11 +08:00
xtaci eb5a824afd optimize streamClosed 2016-09-06 12:20:56 +08:00
xtaci e0ae71df44 optimize split 2016-09-06 11:06:17 +08:00
xtaci 99c50ed5c0 closing session in busy accepting is leaky 2016-09-06 10:51:43 +08:00
xtaci f4d95a8da1 add more test 2016-09-05 15:06:22 +08:00
xtaci a17af71cc4 upd 2016-09-05 14:54:09 +08:00
xtaci c3c1d44c0b add TestReadStreamAfterSessionClose 2016-09-05 14:25:55 +08:00
xtaci 5cba51dca1 upd 2016-09-05 12:06:30 +08:00
xtaci 5390b803f6 using passive strategy for protocol 2016-09-05 11:21:51 +08:00
xtaci 49d9fc094c move stream buffer into stream 2016-09-05 11:15:29 +08:00
xtaci ede46abcfe Revert "reduce critical area"
This reverts commit 7f7f287315.
2016-09-04 15:15:21 +08:00
xtaci 7f7f287315 reduce critical area 2016-09-04 12:50:08 +08:00
xtaci 97845c5cd3 optimize inner api 2016-09-03 23:19:19 +08:00
xtaci af35d1826e optimize Sesion.Close() 2016-09-03 23:08:31 +08:00
xtaci b2ffd23649 optimize Session.Close() 2016-09-03 23:04:36 +08:00
xtaci ff07989d4a remove a useless cmd 2016-09-03 21:21:58 +08:00
xtaci 34812a2fe5 revert the keepalive 2016-09-03 19:48:24 +08:00
xtaci ac8acc040c use bytes.Buffer instead of []byte 2016-09-03 17:53:26 +08:00
xtaci 9d43ab25e5 optimize frame unmarshal, added zercopy 2016-09-03 17:25:07 +08:00
xtaci 86f13d55f6 add comments 2016-09-03 16:21:28 +08:00
xtaci 5d4c4e5869 a better fix for rst 2016-09-03 15:38:31 +08:00
xtaci cc7ed53429 fix RST 2016-09-03 13:30:18 +08:00
xtaci 8252ee1d9d write should not block read 2016-09-03 11:29:19 +08:00
xtaci 4fe17c2ede reduce alloc 2016-09-03 11:12:49 +08:00
xtaci a3116454c1 upd comment 2016-09-02 23:36:59 +08:00
xtaci abc0ebc4f8 fix 2016-09-02 23:32:57 +08:00
xtaci b2fb5477f6 fix 2016-09-02 23:24:10 +08:00