Commit Graph
288 Commits
Author SHA1 Message Date
xtaci 9c31495dc7 add shaper test v1.3.6 2019-09-10 20:43:25 +08:00
xtaci 6284957b0f fill prio 2019-09-10 20:39:12 +08:00
xtaci 78fdaa98a6 add a shaper for fair transfer 2019-09-10 20:33:49 +08:00
xtaci 6aa95ef6b7 fix incorrect error reporting in tests https://github.com/xtaci/smux/issues/54 v1.3.5 2019-08-28 11:41:48 +08:00
xtaci b71f58ec76 adjust test function relates to https://github.com/xtaci/smux/issues/55 2019-08-28 11:25:59 +08:00
xtaciandGitHub 67e00e88db Merge pull request #53 from getlantern/smux-issue-52
Always stop timer in Stream.Read
v1.3.4
2019-07-10 13:36:24 +08:00
Joesis e7738d03db Always stop timer in Stream.Read
Resolves https://github.com/xtaci/smux/issues/52
2019-07-09 19:01:50 -07:00
xtaciandGitHub 79b3c96b84 Update README.md 2019-05-22 11:55:59 +08:00
xtaciandGitHub ce5b21325d Update README.md v1.3.3 2019-05-17 14:43:09 +08:00
xtaci cde199122f add overview comment 2019-05-16 13:27:11 +08:00
xtaciandGitHub a8ecd58ab9 Update README.md 2019-05-16 12:30:04 +08:00
xtaci cfd07e796e add comments to alloc 2019-05-16 12:17:07 +08:00
xtaci f5fa48311f save 1-loc 2019-05-15 16:14:14 +08:00
xtaci 4299d21e8f add method LocalAddr and RemoteAddr v1.3.2 2019-05-14 21:17:35 +08:00
xtaci 1724e90827 <= to == v1.3.1 2019-05-14 14:03:58 +08:00
xtaci afb2f3110f add a span-like allocator without zeroing of slices 2019-05-14 13:54:25 +08:00
xtaci 12e6c1b382 add a line of comment v1.2.12 2019-05-14 11:08:51 +08:00
xtaci febb4a5f0d add TestSessionDoubleClose 2019-05-13 21:45:23 +08:00
xtaci 4175cf4235 move heavy ops out and fix once 2019-05-13 21:37:45 +08:00
xtaci 2c8add414c proper error handling 2019-05-13 21:33:06 +08:00
xtaci 3752dae3e1 proper error handling in smux v1.2.11 2019-05-10 14:24:45 +08:00
xtaci 401b0da059 safer way to push data to streams v1.2.10 2019-04-24 23:06:33 +08:00
xtaci 4c827cfd42 set nil after token recycle v1.2.9 2019-04-23 21:09:37 +08:00
xtaci 8b93fb28e5 abandom bytes.Buffer for stream buffer v1.2.8 2019-04-23 20:34:21 +08:00
xtaci 804c20e2b0 save up to 64k v1.2.7 2019-04-22 11:01:22 +08:00
xtaci 4eb72b6c8d frame version check failure will close connection 2019-04-18 19:58:34 +08:00
xtaci d568d23290 fix a potential logic race v1.2.6 2019-04-18 14:09:03 +08:00
xtaci 11b388cc29 make sure close(conn) is before streamLock v1.2.5 2019-04-18 13:46:20 +08:00
xtaci e12a73f3f4 handle error in discard v1.2.4 2019-04-18 12:14:47 +08:00
xtaci a86d25d4e7 fix bug in issue #48 2019-04-18 12:11:31 +08:00
xtaci 6e0e0d2e80 better handling of token bucket notify v1.2.3 2019-04-17 22:26:12 +08:00
xtaci 5eb9306e00 Revert "make sure streamLock is non-blocking due to receiveBytes"
This reverts commit 20e41dd6bd.
2019-04-17 21:44:28 +08:00
xtaci 20e41dd6bd make sure streamLock is non-blocking due to receiveBytes 2019-04-17 21:29:58 +08:00
xtaci 8a71918d00 copy directly into bytes.Buffer without a tmp buffer v1.2.2 2019-04-08 15:47:16 +08:00
xtaci 427ad5fcc4 remove log v1.2.1 2019-04-07 22:00:13 +08:00
xtaci 77b36b6b12 add buffersWriter interface and optimize for gathered writing 2019-04-07 21:59:32 +08:00
xtaci b45c894069 fan in writeFrameInternal v1.1.2 2019-03-24 18:40:36 +08:00
xtaciandGitHub f4f6ca39c6 Merge pull request #43 from jannson/fix-keepalive-block
fix: writeFrame may block forever in keepalive function
v1.0.8 v1.0.9 v1.1.1
2019-02-13 00:38:44 +08:00
jannson d48c64181c no errTimeout checking for writeFrameInternal in keepalive, do it simple, but better 2019-02-13 00:36:40 +08:00
jannson 0bafab3e44 use writeFrameInternal instead of writeFrameWithDeadline 2019-02-12 23:58:45 +08:00
jannson 5bef4b83d6 calling writeFrameWithDeadline in writeFrame for better reading 2019-02-12 23:50:01 +08:00
jannson d7d8337fbf all cover for writeFrameWithDeadline 2019-02-12 21:48:52 +08:00
janson 2c51c16a69 do better coverage 2019-02-12 19:00:43 +08:00
janson 2775ecb3f8 add TestKeepAliveBlockWriteTimeout and TestDeadlineFrame 2019-02-12 14:31:33 +08:00
janson 0b0a666e49 fix: writeFrame may block forever in keepalive function, then it never timeout 2019-02-12 10:00:08 +08:00
xtaciandGitHub 6cf098d439 Merge pull request #40 from CovenantSQL/master
Expose Stream.die via Stream.GetDieCh for canceling running golang RPC func
v1.1.0
2018-12-05 12:40:55 +08:00
auxten 9a596215cd Fix forget to close server session 2018-12-05 11:34:04 +08:00
auxten adfc81dd78 Add Stream.GetDieCh which returns a readonly chan to get notified when the stream is to be closed 2018-12-05 11:24:20 +08:00
auxten d3b4611595 Expose Stream.die to Stream.Die for canceling running golang RPC func 2018-12-04 12:14:14 +08:00
xtaciandGitHub f19baee51e Merge pull request #39 from HaraldNordgren/go_versions
Bump Go versions and use '.x' to always get latest patch versions
2018-10-28 23:51:15 +08:00