Commit Graph

73 Commits

Author SHA1 Message Date
Zack 6181903c83 go.mod v9 -> v10 2024-05-23 06:25:53 -07:00
N0mansky d5e63cd0bf Update: update error messages for http proxy 2023-04-12 18:17:25 +08:00
N0mansky 1b1dc5cdfe Feat: support http proxy as a complementary way to use in network limited environments. 2023-04-12 18:04:15 +08:00
Zack Scholl b3c0625659 localhost -> 127.0.0.1 Fixes #513 2023-03-20 09:16:07 -07:00
Tai Groot fa7ae114f5
run through gofumpt 2022-12-05 11:21:04 -08:00
Zack Scholl 1637765aad debugging 2021-10-02 12:23:36 -07:00
Zack Scholl ce628ea604 debugging 2021-10-02 12:20:18 -07:00
Zack Scholl 0a0f7a03d7 update version 2021-04-17 10:33:38 -07:00
Zack Scholl 3e56d4cdb9 use magic bytes instead of checking max 2021-04-17 09:05:27 -07:00
Heiko Reese a20ebd7120 Added support for SOCKS5 authentication (fixes #333) 2021-03-06 11:55:16 +01:00
Khang. Nguyen Khac Nguyen 9f54f2d08f chore(comm): cleanup comm Write func
+ better handling error.
+ use Send instead of Write since we do not need number of bytes sent.
2020-10-21 15:16:42 +07:00
Zack 3396743d73
allow proxying connection (#283) 2020-10-05 08:30:45 -07:00
fooofei c877497cc9 user io.ReadFull for shorter connection read code 2020-10-04 10:37:36 +08:00
Zack Scholl a8c5bef7c0 raise max bytes to allow huge files #231 2020-09-01 09:32:03 -07:00
Zack Scholl 4aa7f05630 slightly more debugging 2020-08-27 08:10:44 -07:00
mathew 1b646d5528 Improve error reporting 2020-08-22 18:05:00 -05:00
Zack Scholl 2e7708e3cd whoops 2020-04-22 07:08:08 -07:00
Zack Scholl cb522f2f06 debugging the comm 2020-04-22 06:24:47 -07:00
Zack Scholl f9f4f291da use debug instead of warn/error addresses #205 2020-04-09 09:54:04 -07:00
Zack Scholl 9c0bc3efc3 bug fix: two read deadlines to prevent memory leak
addresses #205
2020-04-09 07:40:39 -07:00
Zack Scholl b0125b63e7 test should not exceed max bytes 2020-03-27 09:38:09 -07:00
Zack Scholl b60a841044 bug fix: prevent crazy number of bytes getting into comm 2020-03-27 09:32:41 -07:00
Zack Scholl 22f6a13a9f add more tests 2019-09-07 10:31:18 -07:00
Zack Scholl a82dd2f284 improve tests 2019-09-07 10:06:41 -07:00
Zack Scholl 0388e07689 remove flushing 2019-05-08 21:33:30 +00:00
Zack Scholl 257607a26f use my logger instead of seelog 2019-05-08 21:03:54 +00:00
Zack 1f3d30c78e
Use relay as backup to find local ports (#127) 2019-05-03 13:51:27 -07:00
Zack Scholl 9f6936e1ff small fix 2019-05-01 12:08:24 -06:00
Zack Scholl e54045ef5a read until 4 bytes 2019-04-30 07:07:07 -07:00
Zack Scholl 000dfc15be fiX comm 2019-04-30 06:57:45 -07:00
Zack Scholl 330e76e09c fix 2019-04-29 21:33:13 -07:00
Zack Scholl a17f3096a0 no isclosed 2019-04-29 18:55:37 -07:00
Zack Scholl 2414593c91 test sending 40mb 2019-04-29 16:04:47 -06:00
Zack Scholl ef25c556a9 use pointers 2019-04-29 14:06:18 -06:00
Zack Scholl b9a5f450c5 simplify 2019-04-29 13:53:12 -06:00
Zack Scholl 14dd892377 tcp communication better/simpler 2019-04-27 09:20:03 -07:00
Zack Scholl cc6edd24d1 connect to TCP as early as possible 2018-10-13 06:09:55 -07:00
Zack Scholl 91e065529b fix timeout 2018-10-09 21:17:51 -07:00
Zack Scholl 42344a4c6e fix corruption 2018-10-09 21:17:51 -07:00
Zack Scholl d1e1694631 more debug 2018-10-09 21:17:47 -07:00
Zack Scholl 9d2f07f478 copy tcp writing into byte array 2018-10-09 21:17:47 -07:00
Zack Scholl b0164920c7 increase timeout 2018-10-09 21:17:47 -07:00
Zack Scholl 6955f19439 recipient can easily stop now 2018-10-09 19:01:50 -07:00
Zack Scholl 66a37ae5b2 reduce number of packets 2018-10-09 04:50:38 -07:00
Zack Scholl fdfa7f209d revert to da2b22f 2018-09-26 14:31:45 -07:00
Zack Scholl bc4bd2b0a8 don't use writer 2018-09-26 11:11:19 -07:00
Zack Scholl 8ddd7aff06 flush once 2018-09-26 11:07:17 -07:00
Zack Scholl cc0ef58b9f use netconn 2018-09-26 10:54:11 -07:00
Zack Scholl 21cfcc0bc2 use netconn 2018-09-26 10:53:47 -07:00
Zack Scholl 928b28dc80 use netconn 2018-09-26 10:51:28 -07:00