summaryrefslogtreecommitdiff
path: root/obfs4proxy
AgeCommit message (Collapse)Author
2014-05-12Fix logging again.Yawning Angel
On second thought instead of using log.Panicf(), panic() and do the logging with recover(). This somewhat centralizes logging in obfs4proxy, which will be easier to change when I invariably decide to do logging differently in the future.
2014-05-12Log and propagate errors between the 2 goroutines in copyLoop.Yawning Angel
This fixes #1.
2014-05-12Clean up the logging a bit.Yawning Angel
2014-05-12Run go fmt on obfs4proxy.go (No functional changes).Yawning Angel
2014-05-12Move to a unified client/server binary, and fix bugs.Yawning Angel
* The old and the busted: obfs4-[client,server]. * The new hotness: obfs4client. * Add obfs4.ServerHandshake() that servers need to call after a successful return from Accept(). This allows implementations to move the handshake into a goroutine or whatever.