Kirill Motkov
0401a91ef4
Some code improvements
...
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond
3828a463ea
move sniffing request to session
2019-02-23 00:27:21 +01:00
Darien Raymond
b52725cf65
DialUDP function
2019-01-05 21:43:22 +01:00
Darien Raymond
bea521537e
errors.Combine
2018-12-04 14:17:08 +01:00
Darien Raymond
3eac22c27d
add missing changes
2018-11-21 14:55:05 +01:00
Darien Raymond
769f770cf7
migrate NetworkList to []Network
2018-11-20 16:58:26 +01:00
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue
2018-11-16 11:08:12 +01:00
Darien Raymond
838f2919ab
move mux to common
2018-10-23 12:21:12 +02:00
Darien Raymond
a5dcb0f13e
refactor dependency resolution
2018-10-21 10:27:13 +02:00
Darien Raymond
d730637239
Require Type() for Feature
2018-10-12 23:57:56 +02:00
Darien Raymond
273342d0b9
move stats and inbound to features directory
2018-10-11 21:14:53 +02:00
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory
2018-10-11 20:43:37 +02:00
Darien Raymond
091fa6ad23
use new errorgen
2018-09-30 23:08:41 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation
2018-09-30 18:39:53 +02:00
Darien Raymond
9d646d6039
support tproxy in tcp connections
2018-09-23 20:14:07 +02:00
Darien Raymond
94b880d060
move session based info into session package
2018-09-18 23:09:54 +02:00
Darien Raymond
383b84e7dd
unified tproxy option
2018-09-17 15:12:58 +02:00
Darien Raymond
b3847fb7c0
MemoryStreamSettings
2018-09-07 14:50:25 +02:00
Darien Raymond
91109f3657
replace channel with pipe in udp conn
2018-09-03 00:56:43 +02:00
Darien Raymond
1be86e6e3a
update activity in ReadMultiBuffer
2018-09-01 21:19:01 +02:00
Darien Raymond
eb05a92592
dont start periodic task until necessary
2018-08-29 23:00:01 +02:00
Darien Raymond
053fc38d38
refine udp hub api
2018-08-11 22:35:01 +02:00
Darien Raymond
c0e37ef34a
prototype for new sniffing mechanism
2018-07-16 13:47:00 +02:00
Darien Raymond
9977eadf8c
remove dependency from errors to session
2018-06-25 01:09:02 +02:00
Darien Raymond
b01180b913
fix lint warnings
2018-06-04 14:29:43 +02:00
Darien Raymond
ee0ca6cbd2
fix a deadlock
2018-05-31 13:12:36 +02:00
Darien Raymond
adade2bffd
fix lint warnings
2018-05-31 11:55:11 +02:00
Darien Raymond
daa790582f
update uplink traffic in read multibuffer
2018-05-29 00:47:22 +02:00
Darien Raymond
ac6a0f7511
update activity timer
2018-05-27 14:42:53 +02:00
Darien Raymond
46dbbfff8c
fix reading in udp conn
2018-05-27 13:23:41 +02:00
Darien Raymond
13f3c356ca
unified task package
2018-05-27 13:02:29 +02:00
Darien Raymond
cad07c3a83
faster udp reading
2018-05-27 01:19:05 +02:00
Darien Raymond
68da956fc4
re-generate code
2018-05-25 11:56:01 +02:00
Darien Raymond
d6dc88860b
simplify done api
2018-04-15 20:40:47 +02:00
Darien Raymond
c76d492c0f
stats counter for inbound traffic
2018-04-12 00:10:14 +02:00
Darien Raymond
a320196b77
refine domain socket transport
2018-04-09 17:09:24 +02:00
Shelikhoo
6d1faf5f6e
Remove staging code
2018-04-05 19:28:30 +08:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
2018-04-05 19:11:33 +08:00
Darien Raymond
75a7e9c7f5
comments
2018-04-04 21:32:40 +02:00
Shelikhoo
7e96581921
Added integration
2018-04-04 17:12:09 +08:00
Darien Raymond
a3f47f4fa2
comments
2018-04-04 00:57:44 +02:00
Shelikhoo
a00c0764e5
Pass unused data into Receiver
2018-03-28 20:09:43 +08:00
Shelikhoo
09bf78a089
notify progressTraffic to quit
2018-03-18 22:13:17 +08:00
Shelikhoo
3e05a3529a
finish UnixInboundHandler
2018-03-18 22:08:03 +08:00
Shelikhoo
8e5063dedf
(Sync Commit)
2018-03-16 12:35:12 +08:00
Shelikhoo
43abfc9463
Unix listeners(sync commit)
2018-03-11 13:44:21 +08:00
Darien Raymond
59958fed68
refactor udp worker
2018-03-01 14:58:13 +01:00
Darien Raymond
6b872c266c
session id
2018-02-22 15:26:00 +01:00
Darien Raymond
88b25d38cb
simplify context retrieval
2018-02-21 17:05:29 +01:00
Darien Raymond
1e0b35f869
fix nil reference in udp worker
2018-02-14 13:41:21 +01:00