Commit Graph

15 Commits

Author SHA1 Message Date
idk
76e1e9af83 Dial/Hangup Hack. If the connection is closed because of an error, re-dial it from within the dial function itself by incrementing the ID and creating a new session on top of the old one. 2020-12-05 16:36:19 -05:00
idk
0d10b5b516 Improve the parser, automatically set empty destinations to TRANSIENT when using a dialer, better error handling, when a socket gets closed, increment the ID and re-create it 2020-11-29 16:09:55 -05:00
idk
3c5397e87f Fix session ID issue, we only need a new session when we really need a new session, i.e. give people a way to ask for it instead of trying to guess 2020-11-22 12:31:20 -05:00
idk
dc12ba56d4 re-write some tests 2020-11-12 22:49:44 -05:00
idk
12d1bf38b2 re-write some tests 2020-11-12 22:41:05 -05:00
idk
a516752491 add resolve function compatible with SOCKS proxies 2020-09-13 01:32:22 -04:00
idk
d7af8dafa9 make dialer context aware and avoid redundant session create's 2019-02-27 20:25:36 -05:00
idk
2b14108a06 I don't know exactly why, but checking that the kvPair in replyParser.go is not nil fixes the crash on image-heavy sites. 2018-03-21 20:16:19 -04:00
idk
8d5c5f9d36 switch to strings.SplitN and apply gofmt, add test 2018-03-06 15:18:38 -05:00
idk
32386886bc replyParser had a bug where, when a base64 address ended with '==', the key-value pairs would break. I worked around the issue by switching '==' it with a non-base64 character before the split, and back after. 2018-03-06 04:46:05 -05:00
622c39b6a5 spring cleaning 2015-03-25 22:03:05 +01:00
97f9bc7e56 Edited Comments according to golint 2014-02-14 12:05:13 +01:00
a421daf8d9 Added some Documentation and Example of using it with http.Transport 2014-02-11 14:48:13 +01:00
b0e9ab001e Added Verbose mode and be more fixed some newline inconsistencies 2014-02-11 14:08:52 +01:00
9e21061f3f Client.Hello, Client.Lookup and parseReply 2014-02-09 18:40:51 +01:00