Commit Graph
568 Commits
Author SHA1 Message Date
xtaci e6d22dff63 proper errors 2019-05-10 12:13:59 +08:00
xtaci a09f13ea60 use standard error var from pkg/io 2019-05-10 12:01:11 +08:00
xtaci e3e2ef6795 upd test 2019-05-09 18:33:39 +08:00
xtaci beb164251e return always prefer socket errors 5.3.1 2019-05-09 16:41:17 +08:00
xtaci cfc0c8e463 error handling 2019-05-09 16:31:52 +08:00
xtaci e634875296 better error handling 2019-05-09 16:03:29 +08:00
xtaci 5fee4f1c79 preserve socket error for listener 2019-05-09 15:30:25 +08:00
xtaci ea4f44e8cd handle error and fix race 2019-05-09 13:55:28 +08:00
xtaci 33d5769313 add a comment 2019-05-09 12:33:05 +08:00
xtaci 372b80c930 re-cap only 2019-05-09 12:31:46 +08:00
xtaci 34e72e0fd6 recycle buffer 2019-05-08 22:40:03 +08:00
xtaci f0ee7b5847 proper error handling 2019-05-08 22:38:06 +08:00
xtaci f0e07abcce close opened conns in tests 2019-05-08 21:53:41 +08:00
xtaci 8078536338 upd tests 2019-05-08 21:39:09 +08:00
xtaci c340cca9d7 fix 2019-05-08 21:09:47 +08:00
xtaci c22776ba21 add txLoop to listener 2019-05-08 18:39:27 +08:00
xtaci e51ee1e351 unify 2019-05-08 18:04:38 +08:00
xtaci 4f8e5a6a31 upd 2019-05-08 17:51:37 +08:00
xtaci d7799d5737 upd 2019-05-08 17:02:33 +08:00
xtaci 7d9fa7a6b6 prevent blocking 2019-05-08 16:58:27 +08:00
xtaci 9a8d5f083e loop on sendmmsg 2019-05-08 15:51:06 +08:00
xtaci a537bb2089 optimize counting 2019-05-08 13:50:07 +08:00
xtaci e06f294160 output callback will not be blocked 2019-05-08 13:44:50 +08:00
xtaciandGitHub 29ad279a21 Update README.md 2019-05-08 13:40:24 +08:00
xtaci 7fe8dde69e implement linux writebatch 2019-05-08 11:47:26 +08:00
xtaci 39bfc772c5 len->cap 2019-05-06 13:25:40 +08:00
xtaciandGitHub f11459395f Update README.md 2019-05-06 01:22:57 +08:00
xtaciandGitHub 88b8a1475b Xtaci patch 1 (#119)
* Add files via upload

* Update README.md
v5.2.8
2019-04-27 10:12:30 +08:00
xtaci 23759369cb same logic applied to fec queue 2019-04-27 09:51:26 +08:00
xtaci 8c3db6588a optimization in slice front element deletion 2019-04-26 22:22:16 +08:00
xtaci 023c3771f9 move batchSize to readloop_linux.go v5.2.7 2019-04-24 18:13:10 +08:00
xtaci 37e28f6111 conditional build for linux and others v5.2.6 2019-04-24 13:24:46 +08:00
xtaci ced944ffc2 revert back the network type detection v5.2.5 2019-04-23 20:09:51 +08:00
xtaci b717dc47ef ref to msg 2019-04-23 17:26:00 +08:00
xtaci a4d8420614 Squashed commit of the following:
commit 21aa3fd08f415c9a439c1582b0b8839028b8cad8
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 17:05:57 2019 +0800

    only allocate multiple buffer for linux

commit 9d35ecddad6a15ff71a15fe640453584a34d2e35
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 16:32:25 2019 +0800

    ref to msgs[i]

commit 15c199c8ce1cc17c08e2c66774408180f14f3d4c
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 16:29:10 2019 +0800

    fix ip:port bind

commit 366018c350919baf3cc0c64b94c5eea98d279437
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 16:10:30 2019 +0800

    fan in monitor logic

commit 10d3063ba43b96674844f8841c09c7bff77ae4fa
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 15:23:43 2019 +0800

    default batchSize is 16

commit 613cf9755735f16644962616e3eca79ba9ab5bf0
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 14:43:46 2019 +0800

    monitor BatchRead

commit 83812712c43a5479a71210ea3886dece2dbdf090
Author: xtaci <imap@live.com>
Date:   Tue Apr 23 14:20:36 2019 +0800

    batchread on client
2019-04-23 17:19:47 +08:00
xtaci 31ca7b731d rename typeFEC->typeParity 2019-04-23 11:59:03 +08:00
xtaci 348f7245b9 rename markFEC to markParity and add a line of comment 2019-04-23 11:42:06 +08:00
xtaci 01adef1dd5 omit the data copying before headerOffset v5.2.4 2019-04-20 20:36:11 +08:00
xtaci 381f54c9f3 fix time comparsion on edge v5.2.3 2019-04-15 13:36:56 +08:00
xtaci 0be661ec07 reuse time.Timer object instead of creating repeatedly 2019-04-13 20:41:36 +08:00
xtaci 158a924ca6 fan in WriteBuffers v5.2.2 2019-04-10 10:53:51 +08:00
xtaci 7c104a5443 add WriteBuffers function to send a vector of slice in batch v5.2.1 2019-04-07 21:56:50 +08:00
xtaci 59b7c4b915 add a line of comment 2019-04-06 12:48:36 +08:00
xtaci b44d869cfd prevent reedsolomon decoder from allocating memory v5.1.4 2019-04-01 21:25:46 +08:00
xtaci 37896589aa add methods to []byte instead of creating new structure 2019-04-01 20:58:36 +08:00
xtaci ad46754387 remove unnecessary setting of default mtu 2019-03-22 18:23:36 +08:00
xtaci df934f8a92 fix default mtu 2019-03-22 18:22:39 +08:00
xtaci 4149bfc8ed rename func to ReserveBytes v5.1.3 2019-03-22 13:40:30 +08:00
xtaci 83e13d2c1f fan in makeSpace in flush() 2019-03-22 13:32:36 +08:00
xtaci fc8dfa739f rename keep->reserved 2019-03-22 13:10:04 +08:00