xtaci
|
79ed6364e6
|
differentiate control frame and data frame
|
2023-02-14 22:19:42 +08:00 |
|
xtaci
|
bf0d5ac63f
|
add openCloseTimeout for stream open and close
|
2023-02-14 21:56:01 +08:00 |
|
xtaci
|
46a59b2e89
|
only keep writeFrame with a default timeout
|
2023-02-14 21:46:07 +08:00 |
|
xtaci
|
dbf64f502a
|
always timeout for writeFrame
|
2023-02-14 20:33:47 +08:00 |
|
xtaci
|
f8f99c6782
|
set write timeout only
|
2023-02-14 20:15:44 +08:00 |
|
fuli
|
5e66fda554
|
implement r/w timeout on smux for proper termination of session
|
2023-02-14 19:09:09 +08:00 |
|
xtaci
|
a54d6cb361
|
control of shaper heap size
|
2023-02-12 19:51:18 +08:00 |
|
xtaci
|
5bfb5a97e0
|
fix a possible prio error
|
2023-02-07 21:23:07 +08:00 |
|
Zachary Zhao
|
c76d829b38
|
In this commit a CloseChan function is added to session module
By this using this funcion, one can be notified immediately when a session is closed.
|
2022-11-24 19:25:00 +08:00 |
|
xtaci
|
09e2c01560
|
fix shaper prio overflow
|
2021-09-22 21:38:58 +08:00 |
|
sintanial
|
e3f47c7785
|
add ability to turn off keepalive
|
2020-05-23 10:58:26 +03:00 |
|
xtaci
|
c6969d8a76
|
fix typos
|
2020-02-20 17:16:37 +08:00 |
|
xtaci
|
80072d9b5c
|
fix a potential unexpected closing while bucket has exhausted
|
2020-02-20 17:13:26 +08:00 |
|
xtaci
|
292d504d11
|
OpenStream should return false if read has error issue#61
|
2020-01-20 14:39:04 +08:00 |
|
xtaci
|
e7525af09e
|
remove poller API
|
2020-01-16 22:07:10 +08:00 |
|
xtaci
|
7e166e41c8
|
remove for in PollWait
|
2020-01-16 21:58:35 +08:00 |
|
xtaci
|
b8558d7e96
|
update
|
2020-01-16 21:51:41 +08:00 |
|
xtaci
|
3c744e6653
|
tidy
|
2020-01-16 21:47:48 +08:00 |
|
xtaci
|
211bc4a98c
|
fix spelling
|
2020-01-04 00:23:22 +08:00 |
|
xtaci
|
f182401f19
|
merge protocol version 2 in master
|
2019-12-26 17:25:11 +08:00 |
|
xtaci
|
fe34c960fb
|
Revert "config protocol Version in Config"
This reverts commit 9f184cedda.
|
2019-12-26 13:39:01 +08:00 |
|
xtaci
|
9f184cedda
|
config protocol Version in Config
|
2019-12-26 12:30:53 +08:00 |
|
xtaci
|
f386d90508
|
Squashed commit of the following:
commit 486431f53deb10b0e6ee51b47785f6f06f0d5733
Author: xtaci <daniel820313@gmail.com>
Date: Thu Dec 26 12:02:52 2019 +0800
remove in-package pkg/errors
commit 213597603a726735678024ec6051800c46ed0bd0
Author: xtaci <daniel820313@gmail.com>
Date: Thu Dec 26 11:58:36 2019 +0800
fix poll
commit d1f7aeefbeb40da99d47ba2b7db5bd403c09ddba
Author: xtaci <daniel820313@gmail.com>
Date: Thu Dec 26 11:17:28 2019 +0800
fix error
commit 152918f9b531c06b42c764f0aff35d4bb9315713
Author: xtaci <daniel820313@gmail.com>
Date: Wed Dec 25 23:27:18 2019 +0800
poll for v1
|
2019-12-26 12:06:21 +08:00 |
|
xtaci
|
36273058e1
|
Revert "remove allocator"
This reverts commit f893f033aa.
|
2019-12-18 22:13:51 +08:00 |
|
xtaci
|
f893f033aa
|
remove allocator
|
2019-12-18 21:44:35 +08:00 |
|
xtaci
|
0e3229b827
|
expose errors definition in smux
|
2019-09-22 14:31:20 +08:00 |
|
xtaci
|
1d5f64e899
|
add Open()
|
2019-09-21 20:14:53 +08:00 |
|
xtaci
|
35b0b0af0b
|
add func Accept()
|
2019-09-21 20:06:31 +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
|
4299d21e8f
|
add method LocalAddr and RemoteAddr
|
2019-05-14 21:17:35 +08:00 |
|
xtaci
|
afb2f3110f
|
add a span-like allocator without zeroing of slices
|
2019-05-14 13:54:25 +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
|
2019-05-10 14:24:45 +08:00 |
|
xtaci
|
401b0da059
|
safer way to push data to streams
|
2019-04-24 23:06:33 +08:00 |
|
xtaci
|
8b93fb28e5
|
abandom bytes.Buffer for stream buffer
|
2019-04-23 20:34:21 +08:00 |
|
xtaci
|
804c20e2b0
|
save up to 64k
|
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
|
2019-04-18 14:09:03 +08:00 |
|
xtaci
|
11b388cc29
|
make sure close(conn) is before streamLock
|
2019-04-18 13:46:20 +08:00 |
|
xtaci
|
e12a73f3f4
|
handle error in discard
|
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
|
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
|
2019-04-08 15:47:16 +08:00 |
|
xtaci
|
427ad5fcc4
|
remove log
|
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 |
|
jannson
|
d48c64181c
|
no errTimeout checking for writeFrameInternal in keepalive, do it simple, but better
|
2019-02-13 00:36:40 +08:00 |
|