Commit Graph

6 Commits

Author SHA1 Message Date
Huin
1395d14473
Clarify code in HTTPUClient.Do.
The previous code was misleading by returning the `err` variable rather than an explicit `nil`. This code path was actually the success path. Functionally it was correct as that specific scoping of `err` could only be `nil` if that line of code was reached.
2018-04-15 22:51:57 +01:00
Aman Gupta
9970de6104 Fix error logging 2017-08-02 21:13:32 +01:00
traetox
d7ddae7b46 httpu client bind to specific address function (#11)
added additional function to allow for specifying which IP the PacketConn should listen on and broadcast on
2016-09-22 21:02:28 +01:00
John Beisley
9c7a5054da Minor corrections to error handling logic in httpu. 2014-06-08 09:19:48 +01:00
John Beisley
b9f1a1f71a Reduce headers written by httpu, in case this confuses some devices. 2014-01-02 22:13:21 +00:00
John Beisley
914072fdd8 Separate lower-level API into separate packages. 2013-10-06 13:23:11 +01:00