- Oct 13, 2023
-
-
Anmol Sethi authored
Returns real remote and local address instead mocked
-
photostorm authored
-
Anmol Sethi authored
-
Anmol Sethi authored
Extend DialOptions to allow Host header override
-
Martin Benda authored
-
Anmol Sethi authored
Closes #315
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
The library we're currently using for protobufs is deprecated. Doesn't belong in the library core anyway. Closes #311 Updates #297
-
Anmol Sethi authored
-
Anmol Sethi authored
Fix dial panic when ctx is nil
-
Anmol Sethi authored
Use net.ErrClosed
-
Simon Ser authored
Go 1.16 has introduced net.ErrClosed, which should be returned/wrapped when an I/O call is performed on a network connection which has already been closed. This is useful to avoid cluttering logs with messages like "failed to close WebSocket: already wrote close". Closes: https://github.com/nhooyr/websocket/issues/286
-
- Oct 10, 2023
-
-
Anmol Sethi authored
-
Anmol Sethi authored
Migrate from deprecated `io/ioutil`
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Jacalz authored
Fixes https://github.com/nhooyr/websocket/issues/359
-
Anmol Sethi authored
Credits to @maggie44 for making me add staticcheck. See #407 Co-authored-by:
maggie0002 <64841595+maggie0002@users.noreply.github.com>
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
arthmis authored
Co-authored-by:
lazypassion <25536767+lazypassion@users.noreply.github.com>
-
Anmol Sethi authored
Cherry picked from master at 129d3035
-
Anmol Sethi authored
Also ran gofmt on everything. Thanks again @paralin. #334 Co-authored-by:
Christian Stewart <christian@paral.in>
-
- Mar 07, 2023
-
-
Gus Eggert authored
Co-authored-by:
Anmol Sethi <hi@nhooyr.io>
-
- Feb 25, 2023
-
-
Teddy Okello authored
-
- Jan 30, 2023
-
-
Gus Eggert authored
When the ctx is nil, http.NewRequestWithContext returns a "net/http: nil Context" error and a nil request. In this case, the dial function panics because it assumes the req is never nil. This checks the returning error and returns it, so that callers get an error instead of a panic in that scenario.
-
- Dec 13, 2022
-
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
- Apr 10, 2021
-
-
arthmis authored
Co-authored-by:
lazypassion <25536767+lazypassion@users.noreply.github.com>
-