391 Commits
Author SHA1 Message Date
xtaci 1865f272c3 use any to subsitute interface{} v1.5.40 2025-11-21 16:18:56 +08:00
xtaci 8168d2f9f9 remove unused variable 2025-11-19 18:17:20 +08:00
xtaci b72cddfd69 add a check before notify shaperLoop v1.5.39 2025-11-18 17:45:46 +08:00
xtaci 2a98f86ab1 adjust comments v1.5.38 2025-11-18 14:13:45 +08:00
xtaci 18b1529e75 changed the data type of count in shaperQueue to int 2025-11-18 14:08:44 +08:00
xtaci 6d9a390b92 added comments 2025-11-18 14:07:50 +08:00
xtaci ba55c1dd2e adjust shaper notify strategy 2025-11-18 10:18:42 +08:00
xtaci 4669622f28 use notify channel to sync sending states 2025-11-17 22:57:29 +08:00
xtaci 94d0f009d8 use notify mechanism between shaper and writeLoop 2025-11-17 22:43:25 +08:00
xtaci 4c94889167 O(1) deletion of streams v1.5.37 2025-11-17 20:06:01 +08:00
xtaci bac67e250f rename field name 2025-11-17 17:31:07 +08:00
xtaci 315621a5ad add coments for shaper 2025-11-17 17:27:02 +08:00
xtaci f251456b93 added shaperQueue for transmission queue management v1.5.36 2025-11-17 15:20:57 +08:00
xtaci 489b45e3d3 fix issue github.com/xtaci/smux/issues/107 2025-10-12 22:03:19 +08:00
xtaci 10971dd692 fix issue: https://github.com/xtaci/smux/issues/106 v1.5.35 2025-08-19 10:52:02 +08:00
xtaci e6b0586a45 add a test for debrujin 2025-02-17 22:12:29 +08:00
xtaci c80fff3f01 Merge pull request #101 from lesismal/master
allocator optimization: avoid tmp obj's allocation and gc
v1.5.34
2025-02-17 18:55:19 +08:00
lesismal 80f1038663 allocator optimization: avoid tmp obj's allocation and gc 2025-02-17 17:34:40 +08:00
xtaci d7000b4d71 move delete inside map check v1.5.33 2024-12-27 22:17:26 +08:00
xtaci 22957af8aa fix nil pointer exception 2024-12-27 22:10:54 +08:00
xtaci 56edb24703 disable finalizer v1.5.32 2024-11-19 13:50:43 +08:00
xtaci 3941a4e722 fix bench() to validate L3 cache for a objective memory-based result 2024-10-22 16:30:15 +08:00
xtaci fbed95bb0b Merge pull request #100 from CoiaPrant233/patch
fix: memory leak
v1.5.31
2024-10-04 12:54:31 +08:00
Coia Prant 41e6a518d8 fix: memory leak 2024-09-29 19:03:12 +08:00
xtaci 784d53ae55 recycle stream immediately if no object holds *Stream pointer v1.5.30 2024-09-15 21:55:22 +08:00
xtaci 52eaa2e163 comment on the scatter/gather IO 2024-09-08 20:55:19 +08:00
xtaci f6431c0c69 add a comment v1.5.29 2024-09-02 11:51:54 +08:00
xtaci 990aae2edd add a comment to WriteTo 2024-09-02 11:47:51 +08:00
xtaci 424eee0de7 rename writeFrame -> writeControlFrame for clarity 2024-08-31 21:57:47 +08:00
xtaci 4df635d3a6 recycle a closed packets 2024-08-31 21:36:12 +08:00
xtaci f4519fc161 send FIN in normal order instead of in priority 2024-08-31 21:25:26 +08:00
xtaci d245826f89 prevent sending more data in passive closing v1.5.28 2024-08-31 00:09:56 +08:00
xtaci a9a927f0b1 Update README.md 2024-08-01 17:47:19 +08:00
xtaci 44d69f6d1a refine comments 2024-08-01 17:25:10 +08:00
xtaci 75d627e431 move pics to assets dir, vendors will have codes in their repos only 2024-07-31 15:47:42 +08:00
xtaci 23bd2df796 Merge pull request #99 from rkonfj/master
ErrTimeout should implement the net.Error interface
v1.5.27
2024-07-30 18:59:45 +08:00
rkonfj 0384f8198b ErrTimeout implement the net.Error interface 2024-07-30 18:14:56 +08:00
xtaci 18a4b3cad9 elaborate comments on source codes v1.5.26 2024-07-28 22:10:35 +08:00
xtaci 0ec7e350e2 classify windowUpdate as CLSCTRL 2024-07-28 21:17:23 +08:00
xtaci 28b48935d0 add license to source codes v1.5.25 2024-07-25 21:59:09 +08:00
xtaci 2ec1db9c12 Merge pull request #96 from testwill/bytes
chore: use bytes.Equal instead
2023-10-19 22:06:00 +08:00
guoguangwu fe94a653db chore: use bytes.Equal instead 2023-10-19 21:33:32 +08:00
xtaci 79ed6364e6 differentiate control frame and data frame v1.5.24 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 v1.5.23 2023-02-14 21:46:07 +08:00
xtaci dbf64f502a always timeout for writeFrame v1.5.22 2023-02-14 20:33:47 +08:00
xtaci f8f99c6782 set write timeout only v1.5.21 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 v1.5.20 2023-02-12 19:51:18 +08:00
xtaci d5ca637a0e ignore prio settinn in writeFrameInternal v1.5.19 2023-02-07 22:06:41 +08:00