Commit Graph

843 Commits (78729fc69890b324b075697a35832577b0654a02)

Author SHA1 Message Date
Darien Raymond ee13f7a562
fix bind addr check 2019-01-12 09:44:51 +01:00
Darien Raymond ef739c2127
listen system only when bind addr not specified 2019-01-12 09:12:48 +01:00
Darien Raymond 6146366a4a
enforce timeout for http header processing 2019-01-10 10:40:51 +01:00
Darien Raymond 163776b182
remove dependency on assert lib 2019-01-08 23:27:02 +01:00
Darien Raymond d26700a2fe
remove common/compare package 2019-01-07 00:12:04 +01:00
Darien Raymond a1b33c3bd6
remove unused functions 2019-01-06 20:33:58 +01:00
Darien Raymond a1b552f948
use ListenPacket in Dial UDP connection 2019-01-06 09:39:37 +01:00
Darien Raymond b52725cf65
DialUDP function 2019-01-05 21:43:22 +01:00
Darien Raymond 21f8bfe476
move udp packet to protocol 2019-01-05 19:49:21 +01:00
Darien Raymond d20f87da4b
comments 2019-01-01 20:16:04 +01:00
Darien Raymond 41b1ac192e
use compact in tls writer 2018-12-27 20:38:24 +01:00
Darien Raymond 88e757e33f
merge duplicated code 2018-12-27 17:00:34 +01:00
Darien Raymond fc92b6295a
compact buffers 2018-12-27 16:36:48 +01:00
Darien Raymond 012a2d6f57
fix #1477 2018-12-17 20:31:54 +01:00
Darien Raymond 4055c467a1
tweak quic server parameters 2018-12-11 09:50:36 +01:00
Darien Raymond f49f85b5bd
fix #1462 2018-12-06 21:09:41 +01:00
Darien Raymond a6d81cc56d
api doc 2018-12-03 23:39:21 +01:00
Darien Raymond 28fa84ce69
API doc 2018-12-03 22:44:42 +01:00
Darien Raymond 05f8de1b8f
allow custom controller function 2018-12-03 17:41:24 +01:00
Darien Raymond 0f63be6340
open ReadBuffer for quic connections 2018-12-03 16:01:14 +01:00
Darien Raymond c5a384195a
fix #1451 2018-12-02 19:40:43 +01:00
Darien Raymond 057e271588
update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 9379b2f934
fix srtp header 2018-11-30 17:37:38 +01:00
Darien Raymond 7244dc928e
max buffers in one read 2018-11-30 14:48:44 +01:00
Darien Raymond 61ad81c326
implement ReadMultiBuffer in quic conn 2018-11-30 14:41:11 +01:00
Darien Raymond fd060a0880
temp fix deadlock in quic lib 2018-11-29 17:17:07 +01:00
Darien Raymond 3b1aaa9a3d
update quic parameters 2018-11-28 23:14:41 +01:00
Darien Raymond 1d54fd7433
update timeout and window size in quic 2018-11-27 22:39:54 +01:00
Darien Raymond 90ab42b1cb
close connection without error 2018-11-27 10:56:07 +01:00
Darien Raymond f70712a1a3
remove warning messages in quic 2018-11-26 18:00:41 +01:00
Darien Raymond 45fbf6f059
update quic connection handling 2018-11-25 21:56:24 +01:00
Darien Raymond 5ecec6afd8
reduce concurrency 2018-11-24 23:10:04 +01:00
Darien Raymond 4ff26a36ad
update quic connection handling 2018-11-24 22:18:17 +01:00
Darien Raymond a1801b5d6f
update quic config 2018-11-23 23:51:07 +01:00
Darien Raymond 275ab2ae8c
fix inactive session removal 2018-11-23 20:47:36 +01:00
Darien Raymond 19926b8e4f
update quic 2018-11-23 17:04:53 +01:00
Darien Raymond 9d17221266
fix test last time 2018-11-22 17:30:06 +01:00
Darien Raymond 39c84c8dcd
fix broken test again 2018-11-22 17:19:24 +01:00
Darien Raymond 4b6e12815d
fix sockopt test 2018-11-22 16:33:32 +01:00
Darien Raymond fa7ce36aa8
update WriteMultiBuffer 2018-11-22 13:36:36 +01:00
Darien Raymond 3a1cf06dc1
add WriteMultiBuffer for interConn 2018-11-22 12:31:11 +01:00
Darien Raymond 010964f272
tweak quic parameters 2018-11-22 11:57:17 +01:00
Darien Raymond 3335f77c70
implement header and auth for quic 2018-11-21 22:02:19 +01:00
Darien Raymond 92a6699706
fix broken test again 2018-11-21 17:15:41 +01:00
Darien Raymond cfa7ee88ce
fix broken test 2018-11-21 16:58:37 +01:00
Darien Raymond 096bbd2c51
prototype of quic transport 2018-11-21 16:47:06 +01:00
Darien Raymond 5279296f03
remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond d2d0c69f17
benchmark certificate issuing 2018-11-21 13:00:26 +01:00
Darien Raymond 8a82a3664c
pick IP family by local address in freedom 2018-11-19 21:36:46 +01:00
Darien Raymond 91227581e5
noescape on asm functions 2018-11-19 00:33:20 +01:00
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes 2018-11-18 19:44:32 +01:00
Darien Raymond 842a089dad
refactor multibuffer 2018-11-18 19:36:36 +01:00
Darien Raymond 0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond 27772a75a7
refactor MultiBuffer append 2018-11-17 09:12:20 +01:00
Darien Raymond 248099eca5
switch to bytes.Equal 2018-11-16 17:00:16 +01:00
Darien Raymond 48cac1733f
remove NewMultiBufferCap 2018-11-16 11:29:16 +01:00
Darien Raymond 2364f5f280
remove AddressFamily.Either() 2018-11-16 11:13:36 +01:00
Darien Raymond a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond a20262ef20
allocate buffer on stack 2018-11-15 21:32:27 +01:00
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond 874fc87498
test long header 2018-11-07 17:16:57 +01:00
Darien Raymond 128a90b98b
move link to transport 2018-11-03 12:36:29 +01:00
Darien Raymond f7b96507f9
simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond 35ccc3a49c
cleanup unnecessary method in serial. 2018-11-02 18:20:02 +01:00
Darien Raymond 815c7f09ba
migrate to std lib 2018-11-02 15:47:58 +01:00
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond 17e51b277b
move proxy.Dialer to internet.Dialer 2018-10-22 22:12:50 +02:00
Darien Raymond e35e3e6e53
comment 2018-10-14 20:18:09 +02:00
Darien Raymond 99d661882a
remove unused constants 2018-10-14 12:20:33 +02:00
Darien Raymond cb8e7dc9a0
comments 2018-10-14 08:23:49 +02:00
Darien Raymond 98e330513d
remove unnecessary interface 2018-10-14 08:23:41 +02:00
Darien Raymond 351316490d
fix typos 2018-10-14 08:02:23 +02:00
Darien Raymond d730637239
Require Type() for Feature 2018-10-12 23:57:56 +02:00
Darien Raymond b6dc31d3fe
first part to move feature interfaces into dedicated directory 2018-10-11 20:43:37 +02:00
Iskander Sharipov 0cf3599db2 s/len/length/ s/cap/capacity/ to avoid builtin shadowing 2018-10-01 12:03:23 +03:00
Darien Raymond 091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Lonnie Liu e43b4cc169 fix build breakage 2018-09-30 12:51:26 -07:00
Darien Raymond 07aa486d43
fix bind address in linux 2018-09-30 19:37:08 +02:00
Darien Raymond d55fbd7f8d
simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond 00ea6e3cb2
update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond cc6590d362
Revert "enable sockopt tests"
This reverts commit 2f28d380b3.
2018-09-17 16:27:41 +02:00
Darien Raymond 2f28d380b3
enable sockopt tests 2018-09-17 15:55:00 +02:00
Darien Raymond 383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond 20251bf499
system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
Darien Raymond 47337d6496
add udp config 2018-09-15 21:33:02 +02:00
Darien Raymond eeca745e89
options for TProxy 2018-09-14 11:05:42 +02:00
Darien Raymond d068f357bd
update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond ed1d713ef4
fix a typo 2018-09-11 10:18:26 +02:00
Darien Raymond 1e4547e262
simplify tcp network detection 2018-09-11 10:03:26 +02:00
Darien Raymond 682b28cbda
fix tls.AllowInsecureCiphers 2018-09-10 23:55:54 +02:00
Darien Raymond 5d9dacc261
fix tfo for darwin 2018-09-10 21:47:24 +02:00
Darien Raymond b9e4a4882c
test tfo on listener 2018-09-10 21:19:59 +02:00
Darien Raymond c8a12bc35d
move sockopt test back to its own file 2018-09-10 21:08:59 +02:00
Darien Raymond 929a5d5d42
fix sockopt for windows 2018-09-10 20:06:58 +02:00
Darien Raymond b1e900a506
fix sockopt tests 2018-09-10 19:36:37 +02:00
Darien Raymond af65048868
test case for tfo 2018-09-10 14:51:44 +02:00
Darien Raymond 418746fdb0
enable tfo on other platforms 2018-09-10 14:39:57 +02:00
Darien Raymond 356377ddde
change back to IPv4 address 2018-09-10 13:58:14 +02:00
Darien Raymond 6d750e8149
options for enable TFO 2018-09-10 13:23:27 +02:00