Commit Graph

41 Commits (870ff527756ef26c0538967fa5581f8775965f57)

Author SHA1 Message Date
Araragi Hokuto 2a96605138
Fix build failure on illumos
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-05-31 12:37:24 +08:00
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 1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 28189197b3
remove dependency of assert lib 2019-02-01 14:38:14 +01:00
Darien Raymond a1b33c3bd6
remove unused functions 2019-01-06 20:33:58 +01:00
Darien Raymond 057e271588
update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 5279296f03
remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01: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 00ea6e3cb2
update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond d068f357bd
update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond b3847fb7c0
MemoryStreamSettings 2018-09-07 14:50:25 +02:00
Darien Raymond 20f10c78b3
add support for wasm 2018-08-27 20:56:49 +02:00
Darien Raymond b79ec5f1ed
use protocol in string form 2018-08-06 13:48:35 +02:00
Darien Raymond 4b63638dca
update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond ff0ae91b9b
update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond 68da956fc4
re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond 2f74a5d048
disable domain socket for windows 2018-04-12 17:44:23 +02:00
Darien Raymond b7fc1f0bd6
scenario test for domain socket 2018-04-09 20:45:23 +02:00
Darien Raymond 38de82a5d3
don't release locker in abstract mode 2018-04-09 17:18:48 +02:00
Darien Raymond a320196b77
refine domain socket transport 2018-04-09 17:09:24 +02:00
Xiaokang Wang 00016e0517
Add comment 2018-04-06 20:29:08 +08:00
Shelikhoo 8e1507ae3a
Prevent unuseful test failure 2018-04-05 19:27:33 +08:00
Shelikhoo 4e609c9758
Added Test for dial 2018-04-05 16:17:17 +08:00
Shelikhoo d08929a687
finish up dial 2018-04-05 15:25:39 +08:00
Shelikhoo b67cd22b78
Test and bug fix 2018-03-29 12:35:02 +08:00
Shelikhoo 09bf78a089
notify progressTraffic to quit 2018-03-18 22:13:17 +08:00
Shelikhoo 3b1f0ae300
finish transport listener 2018-03-18 21:46:50 +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
Shelikhoo 91f32cc8c4
Auto Gen 2018-02-12 14:47:23 +08:00
Shelikhoo b9dddd0586
Added Dialer stub 2018-02-12 14:09:12 +08:00
Shelikhoo 8fe53261cc
Added function Stub 2018-02-12 14:09:12 +08:00
Shelikhoo a6612a2baa
Regenerate Pb 2018-02-12 14:09:12 +08:00
Shelikhoo 5a7c49f3bd
Added Generated error helper 2018-02-12 14:09:12 +08:00
Shelikhoo fdfa49dd1b
modify golang package name 2018-02-12 14:09:12 +08:00
Shelikhoo c3cdd908b7
fix and generate protobuf 2018-02-12 14:09:12 +08:00
Shelikhoo d845b4c3db
Created listener file 2018-02-12 14:09:12 +08:00
Shelikhoo 71c3e81a7e
Rebase: Add domainsocket receiver config 2018-02-12 14:07:16 +08:00