1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-30 23:52:07 +03:00
Commit Graph

785 Commits

Author SHA1 Message Date
Zack Scholl
162b12f42b don't need this anymore 2018-09-25 18:56:36 -07:00
Zack Scholl
efa66f7cbe better marshaling 2018-09-25 18:38:19 -07:00
Zack Scholl
7f0b919b0b fix bar 2018-09-25 18:25:12 -07:00
Zack Scholl
c8c532c5dd small fix 2018-09-25 17:24:06 -07:00
Zack Scholl
71fee31da0 TCP ports use lots 2018-09-25 17:18:43 -07:00
Zack Scholl
ec5d45307a seems to work, with problems 2018-09-25 17:09:45 -07:00
Zack Scholl
02e8021735 fix recipient 2018-09-25 16:14:41 -07:00
Zack Scholl
667edd0373 multiple tcp ports 2018-09-25 15:14:58 -07:00
Zack Scholl
a7b8488040 use all procs 2018-09-25 12:33:51 -07:00
Zack Scholl
7fea858252 update deps 2018-09-25 12:26:32 -07:00
Zack Scholl
68896f6ef7 use all cpu 2018-09-25 12:11:36 -07:00
Zack Scholl
f62459e1a4 move reading to goroutine 2018-09-25 09:55:35 -07:00
Zack Scholl
75f7cdcf65 introduce magic bytes to stop 2018-09-25 09:39:18 -07:00
Zack Scholl
ee7518c7bd use best compression 2018-09-25 09:27:32 -07:00
Zack Scholl
02e63b6473 make faster 2018-09-25 09:17:23 -07:00
Zack Scholl
196c9253b8 use best compression 2018-09-25 07:31:21 -07:00
Zack Scholl
1a22d37c2d do compression in thread 2018-09-25 07:29:55 -07:00
Zack Scholl
f169b12109 simplify test 2018-09-24 16:16:33 -07:00
Zack Scholl
44fad198e7 close correctly 2018-09-24 16:10:04 -07:00
Zack Scholl
7df06272b8 make sure to close connection 2018-09-24 16:05:34 -07:00
Zack Scholl
f56d5c797c use enc/comp in test 2018-09-24 13:24:18 -07:00
Zack Scholl
7147980eac encryption faster with simpler marshaling 2018-09-24 12:52:19 -07:00
Zack Scholl
8bfbe36dd9 do minimal compression 2018-09-24 12:41:35 -07:00
Zack Scholl
2f47dd3178 disable compression/enc 2018-09-24 12:21:38 -07:00
Zack Scholl
d0e75370b2 allow force web 2018-09-24 10:01:30 -07:00
Zack Scholl
6635c84f70 raise tcp size 2018-09-24 09:36:48 -07:00
Zack Scholl
15ecc73f67 update deps 2018-09-24 08:36:24 -07:00
Zack Scholl
7891f27b62 fix test 2018-09-24 08:35:24 -07:00
Zack Scholl
f6c2382c0a fix 2018-09-24 08:32:17 -07:00
Zack Scholl
26f0fc3319 ok windows seems to work now 2018-09-24 08:29:54 -07:00
Zack Scholl
5397634217 works on linux? 2018-09-24 07:51:56 -07:00
Zack Scholl
02f4b08929 not working dunno why 2018-09-24 07:51:24 -07:00
Zack Scholl
55b1fa35e4 add both tests 2018-09-24 07:29:44 -07:00
Zack Scholl
b202682596 local relay runs with tcp port too 2018-09-24 07:26:52 -07:00
Zack Scholl
b14f1c35a3 disable broadcast 2018-09-24 07:24:59 -07:00
Zack Scholl
e10789b558 allow forcing using websockets 2018-09-24 07:17:35 -07:00
Zack Scholl
80d48d45d5 test works 2018-09-24 07:06:55 -07:00
Zack Scholl
e8ef8e1c61 add test 2018-09-24 07:00:48 -07:00
Zack Scholl
90b08abf39 allow discovering self 2018-09-24 06:49:26 -07:00
Zack Scholl
e6b9655387 add benchmark 2018-09-24 06:13:43 -07:00
Zack Scholl
50c29e7334 simplify 2018-09-24 06:10:31 -07:00
Zack Scholl
711f8dfeec improve comm 2018-09-23 19:24:57 -07:00
Zack Scholl
ba20bb63ca fix again 2018-09-23 18:00:00 -06:00
Zack Scholl
45fe9b422d fiX 2018-09-23 18:00:00 -06:00
Zack Scholl
975bab61fb make tcp optional 2018-09-23 18:00:00 -06:00
Zack Scholl
b7c447473d change buffer size 2018-09-23 18:00:13 -06:00
Zack Scholl
73c33ebe02 fix sending 2018-09-23 18:00:00 -06:00
Zack Scholl
fe38107c42 no log 2018-09-23 18:00:00 -06:00
Zack Scholl
7651ed0562 don't count empty bytes 2018-09-23 18:00:09 -06:00
Zack Scholl
2ebe3c1328 update read 2018-09-23 18:00:00 -06:00