Skip to content

A copy of the Golang Authors net/textproto package with a small change to make it work for Tor Control socket data

License

Notifications You must be signed in to change notification settings

gwitmond/textproto

Repository files navigation

textproto

A copy of the Golang Authors net/textproto package with a small change to make it work for Tor Control socket data

Tor Control sockets use a slightly different layout for multiline responses. Instead of:

250-bla/bla
line 1
line 2
.
250 OK

they use:

250+bla/bla
enz.

The minus sign is replaced with a plus sign. So far for compatibility. This package adds the plus sign as a valid multiline indicator.

Please fork this repository before using. I won't accept pull requests.

About

A copy of the Golang Authors net/textproto package with a small change to make it work for Tor Control socket data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages