Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v1.8.8#256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nhooyr merged 116 commits intomasterfromdev
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
116 commits
Select commitHold shift + click to select a range
b453d3e
Move all Wasm related code into ws_js.go
nhooyrMay 18, 2020
17cf0fe
Disable compression by default
nhooyrMay 18, 2020
de8e29b
Fix tests taking too long and switch to t.Cleanup
nhooyrMay 18, 2020
1695216
Add ping example
nhooyrMay 18, 2020
0a61ffe
Make SetDeadline on NetConn not always close Conn
nhooyrMay 18, 2020
aa4d85f
Merge pull request #240 from nhooyr/restructure
nhooyrMay 19, 2020
15a1523
ci/fmt.sh: Cleanup
nhooyrJul 4, 2020
493ebbe
netconn.go: Prevent timer leakage (#255)
nhooyrJul 5, 2020
897a573
write.go: Fix deadlock in writeFrame (#253)
nhooyrJul 5, 2020
fdc4079
Clone options (#259)
abursavichSep 24, 2020
06beb14
Merge branch 'master' into merge-master
nhooyrJan 9, 2021
fe1020d
Fix incorrect &*var clones
nhooyrJan 9, 2021
e4fee52
ci/test.sh: Work with BSD sed
nhooyrJan 9, 2021
a8e475c
Merge pull request #277 from nhooyr/merge-master
nhooyrJan 9, 2021
3b20a49
Add back documentation on separate idle and read timeout
nhooyrJan 9, 2021
29f527b
Remove ExampleGrace for now to avoid confusion
nhooyrJan 9, 2021
085d46c
Document context expirations wart
nhooyrJan 9, 2021
ea87744
netconn: Disable read limit on WebSocket
nhooyrJul 4, 2020
11af7f8
netconn: Add test for disabled read limit
nhooyrJan 9, 2021
642a013
Merge pull request #254 from nhooyr/netconn-readlimit
nhooyrJan 9, 2021
482f584
netconn.go: Cleanup contexts on close
nhooyrJan 9, 2021
29251d0
accept.go: Improve unauthorized origin error message
nhooyrJan 9, 2021
7c0c047
Fix formatting
nhooyrJan 9, 2021
6840778
README.md: Update coverage
nhooyrJan 9, 2021
65dfbdd
wasm: Add dial timeout test
nhooyrJan 9, 2021
7fd6136
Fix dial panic when ctx is nil
guseggertJan 30, 2023
e2bb5be
Migrate from deprecated `io/ioutil`
keystroke3Feb 25, 2023
54809d6
Update err message when dial ctx is nil
guseggertMar 7, 2023
6ead6aa
autobahn_test: Use docker to avoid issues with python2 EOL
nhooyrApr 7, 2023
7c87cb5
Fix DOS attack from malicious pongs
nhooyrSep 28, 2023
b8f6512
Fix grammar (#295)
arthmisApr 10, 2021
9e84c89
README.md: Add note
nhooyrDec 13, 2022
de6965b
REAME: Update note
nhooyrDec 13, 2022
9e7b1d5
README: Further update
nhooyrDec 13, 2022
7a37b6a
Merge branch 'master' into dev
nhooyrSep 28, 2023
5dd228a
compress.go: Add back comment about Safari compat layer being disabled
nhooyrSep 28, 2023
b9a4d42
LICENSE.txt: Switch to OpenBSD's license
nhooyrSep 28, 2023
a374f19
.github: Delete CODEOWNERS
nhooyrSep 28, 2023
c45cd4c
ci/container: Fix for newer Go
nhooyrSep 28, 2023
118ea68
ci: Fixes
nhooyrSep 28, 2023
8d3d892
Update Go module version to 1.18
JacalzMar 12, 2023
4188bcf
go.mod: Regenerate
nhooyrOct 10, 2023
1c90f47
ci.yml: Fix
nhooyrOct 10, 2023
2a5a566
go.mod: Upgrade to Go 1.19
nhooyrOct 10, 2023
e1e65ad
daily.yml: Add to run AUTOBAHN tests daily
nhooyrOct 10, 2023
75bf907
autobahn_test.go: Pull image before starting container
nhooyrOct 10, 2023
91423a9
Merge pull request #371 from keystroke3/master
nhooyrOct 10, 2023
4ab2f54
conn_test: Remove ioutil
nhooyrOct 10, 2023
e9d0881
Use net.ErrClosed
emersionMay 19, 2021
7ce08e9
Merge pull request #303 from emersion/err-closed
nhooyrOct 13, 2023
693fac9
Merge pull request #365 from guseggert/master
nhooyrOct 13, 2023
e305027
dial.go: Clarify http.NewRequestWithContext error
nhooyrOct 13, 2023
ac38512
wspb: Remove
nhooyrOct 13, 2023
9b5a15b
close_goXXX.go: fmt
nhooyrOct 13, 2023
a633a10
lint.sh: Pass
nhooyrOct 13, 2023
3f26c9f
wsjson: Write messages in a single frame always
nhooyrOct 13, 2023
f7bed7c
Extend DialOptions to allow Host header override
bendisczApr 28, 2022
2f44d4e
Merge pull request #336 from bendiscz/client-host-override
nhooyrOct 13, 2023
9873274
wsjson: fmt
nhooyrOct 13, 2023
fecf26c
netconn.go: Return real remote and local address where possible
photostormApr 24, 2021
61942a4
Merge pull request #299 from photostorm/net-addr
nhooyrOct 13, 2023
5793e7d
internal/util: golint
nhooyrOct 13, 2023
2598ea2
Remove third party dependencies from go.mod and go.sum
nhooyrOct 13, 2023
b4b86b9
dial.go: Use timeout on HTTPClient properly
nhooyrOct 13, 2023
a6b9464
conn: Add noCopy
nhooyrOct 13, 2023
4e15d75
ci/bench.sh: Add
nhooyrOct 13, 2023
a02cbef
compress.go: Fix context takeover
nhooyrOct 13, 2023
81afa8a
netconn: Avoid returning 0, nil in NetConn.Read
nhooyrOct 13, 2023
136f954
Client allows server to specify server_max_window_bits
abursavichSep 9, 2020
2291d83
Server allows client to specify server_max_window_bits=15
abursavichSep 9, 2020
711aa3f
Server selects first acceptable compression offer
abursavichSep 9, 2020
d6b342b
Remove x-webkit-deflate-frame dead code
abursavichSep 9, 2020
97d7f90
Merge pull request #258 from abursavich/compression
nhooyrOct 13, 2023
a975390
internal/*/go.mod: Use go 1.19 too
nhooyrOct 13, 2023
1dbc141
write: Zero alloc writes with Writer
nhooyrOct 14, 2023
a94999f
close: Implement CloseNow
nhooyrOct 14, 2023
e314da6
dial: Redirect wss/ws correctly by modifying the http client
nhooyrOct 14, 2023
249edb2
dial_test: Add TestDialViaProxy
nhooyrOct 19, 2023
818579b
TestDialViaProxy: Fix bug in forward proxy
nhooyrOct 19, 2023
20b8838
ci: Add dev to daily
nhooyrOct 19, 2023
591ff8e
accept.go: Comment typo
nhooyrOct 19, 2023
64ce009
conn: Return net.ErrClosed whenever appropriate
nhooyrOct 19, 2023
1a344a4
Reject invalid "Sec-WebSocket-Key" headers from clients
EmyrkDec 20, 2022
f46da9a
Remove build tag at top of files
EmyrkDec 20, 2022
3233cb5
Remove all leading and trailing whitespace
EmyrkDec 20, 2022
309e088
Handle multiple sec-websocket-keys
EmyrkDec 20, 2022
305eab9
misc: Format and compile #360
nhooyrOct 19, 2023
10137fa
Merge pull request #360 from Emyrk/emyrk/Sec-WebSocket-Key
nhooyrOct 19, 2023
e361137
wsjs: Register OnError
nhooyrOct 19, 2023
8abed3a
close.go: Remove unnecessary log.Printf call
nhooyrOct 19, 2023
e4879ab
conn_test: Add TestConcurrentClosePing
univerioMay 25, 2023
28c6709
conn_test.go: Fix TestConcurrentClosePing
nhooyrOct 19, 2023
6cec2ca
close.go: Fix mid read close
nhooyrOct 19, 2023
5fe95bb
write.go: Fix potential writeFrame deadlock
nhooyrOct 19, 2023
308a8e2
autobahn_test.go: Fix TODOs
nhooyrOct 19, 2023
d22d1f3
ci/test.sh: Always benchmark
nhooyrOct 19, 2023
50952d7
compress.go: Rewrite compression docs
nhooyrOct 19, 2023
9d9c971
Update docs
nhooyrOct 19, 2023
25a5ca4
netconn.go: Fix panic on zero or negative deadline durations
nhooyrOct 19, 2023
cdeb980
ws_js.go: Add CloseNow
nhooyrOct 19, 2023
fb3b083
close.go: Drop support for Go 1.13
nhooyrOct 19, 2023
9fdcb5d
Misc fixes
nhooyrOct 19, 2023
db79f72
Update README.md
nhooyrOct 19, 2023
108d137
Update README.md
nhooyrOct 19, 2023
e6a7e0e
main_test.go: Add to detect goroutine leaks
nhooyrOct 19, 2023
6ed989a
Ensure no goroutines leak after Close
nhooyrOct 19, 2023
d7a55cf
Ensure no goroutines leak after Close in a cleaner way
nhooyrOct 19, 2023
7b1a6bb
README.md formatting fix
nhooyrOct 19, 2023
d91a212
wsjs: Ensure no goroutines leak after Close
nhooyrOct 19, 2023
0caa997
Another README.md update
nhooyrOct 19, 2023
7d8ddbc
Fix in README.md
nhooyrOct 19, 2023
535fd2c
go.sum: Delete
nhooyrOct 19, 2023
63c0405
ci/fmt.sh: Tidy internal module dependencies
nhooyrOct 19, 2023
7ada249
Fix typo in README.md
nhooyrOct 19, 2023
ff3ea39
ci/lint.sh: Remove golint
nhooyrOct 19, 2023
af0fd9d
examples/chat: Fix race condition
nhooyrOct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
ci/fmt.sh: Tidy internal module dependencies
  • Loading branch information
@nhooyr
nhooyr committedOct 19, 2023
commit63c0405b4e4735ab744a8b1bf5bce15e4ff99689
2 changes: 2 additions & 0 deletionsci/fmt.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,6 +3,8 @@ set -eu
cd -- "$(dirname "$0")/.."

go mod tidy
(cd ./internal/thirdparty && go mod tidy)
(cd ./internal/examples && go mod tidy)
gofmt -w -s .
go run golang.org/x/tools/cmd/goimports@latest -w "-local=$(go list -m)" .

Expand Down
5 changes: 2 additions & 3 deletionsinternal/examples/go.mod
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@ go 1.19
replace nhooyr.io/websocket => ../..

require (
github.com/klauspost/compress v1.10.3 // indirect
golang.org/x/time v0.3.0 // indirect
nhooyr.io/websocket v1.8.7 // indirect
golang.org/x/time v0.3.0
nhooyr.io/websocket v0.0.0-00010101000000-000000000000
)
39 changes: 0 additions & 39 deletionsinternal/examples/go.sum
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,2 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=
github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI=
github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM=
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/klauspost/compress v1.10.3 h1:OP96hzwJVBIHYU52pVTI6CczrxPvrGfgqF9N5eTO0Q8=
github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g=
nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
2 changes: 1 addition & 1 deletioninternal/thirdparty/go.mod
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@ require (
github.com/gin-gonic/gin v1.9.1
github.com/gobwas/ws v1.3.0
github.com/gorilla/websocket v1.5.0
nhooyr.io/websocketv1.8.7
nhooyr.io/websocketv0.0.0-00010101000000-000000000000
)

require (
Expand Down
1 change: 0 additions & 1 deletioninternal/thirdparty/go.sum
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,6 @@ github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm
github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=
github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp