You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Client and server example](https://v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket/tree/master/examples/echo)
go get v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket
25
+
go get github.com/gorilla/websocket
26
26
27
27
### Protocol Compliance
28
28
29
29
The Gorilla WebSocket package passes the server tests in the [Autobahn Test
30
-
Suite](http://autobahn.ws/testsuite) using the application in the [examples/autobahn
<tr><td>Passes <ahref="http://autobahn.ws/testsuite/">Autobahn Test Suite</a></td><td><ahref="https://v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket/tree/master/examples/autobahn">Yes</a></td><td>No</td></tr>
43
+
<tr><td>Passes <ahref="http://autobahn.ws/testsuite/">Autobahn Test Suite</a></td><td><ahref="https://github.com/gorilla/websocket/tree/master/examples/autobahn">Yes</a></td><td>No</td></tr>
44
44
<tr><td>Receive <ahref="https://tools.ietf.org/html/rfc6455#section-5.4">fragmented</a> message<td>Yes</td><td><ahref="https://code.google.com/p/go/issues/detail?id=7632">No</a>, see note 1</td></tr>
<tr><td>Send <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.2">pings</a> and receive <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.3">pongs</a></td><td><ahref="http://godoc.org/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket#hdr-Control_Messages">Yes</a></td><td>No</td></tr>
<tr><td>Send <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.2">pings</a> and receive <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.3">pongs</a></td><td><ahref="http://godoc.org/github.com/gorilla/websocket#hdr-Control_Messages">Yes</a></td><td>No</td></tr>
47
47
<tr><td>Get the <ahref="https://tools.ietf.org/html/rfc6455#section-5.6">type</a> of a received data message</td><td>Yes</td><td>Yes, see note 2</td></tr>
<tr><td>Read message using io.Reader</td><td><ahref="http://godoc.org/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket#Conn.NextReader">Yes</a></td><td>No, see note 3</td></tr>
51
-
<tr><td>Write message using io.WriteCloser</td><td><ahref="http://godoc.org/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/v2ray.com/core/external/github.com/gorilla/websocket#Conn.NextWriter">Yes</a></td><td>No, see note 3</td></tr>
50
+
<tr><td>Read message using io.Reader</td><td><ahref="http://godoc.org/github.com/gorilla/websocket#Conn.NextReader">Yes</a></td><td>No, see note 3</td></tr>
51
+
<tr><td>Write message using io.WriteCloser</td><td><ahref="http://godoc.org/github.com/gorilla/websocket#Conn.NextWriter">Yes</a></td><td>No, see note 3</td></tr>
Copy file name to clipboardExpand all lines: external/github.com/lucas-clemente/quic-go/Changelog.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,8 @@
36
36
- Add a `quic.Config` option to configure keep-alive
37
37
- Rename the STK to Cookie
38
38
- Implement `net.Conn`-style deadlines for streams
39
-
- Remove the `tls.Config` from the `quic.Config`. The `tls.Config` must now be passed to the `Dial` and `Listen` functions as a separate parameter. See the [Godoc](https://godoc.org/v2ray.com/core/external/github.com/lucas-clemente/quic-go) for details.
40
-
- Changed the log level environment variable to only accept strings ("DEBUG", "INFO", "ERROR"), see [the wiki](https://v2ray.com/core/external/github.com/lucas-clemente/quic-go/wiki/Logging) for more details.
39
+
- Remove the `tls.Config` from the `quic.Config`. The `tls.Config` must now be passed to the `Dial` and `Listen` functions as a separate parameter. See the [Godoc](https://godoc.org/github.com/lucas-clemente/quic-go) for details.
40
+
- Changed the log level environment variable to only accept strings ("DEBUG", "INFO", "ERROR"), see [the wiki](https://github.com/lucas-clemente/quic-go/wiki/Logging) for more details.
41
41
- Rename the `h2quic.QuicRoundTripper` to `h2quic.RoundTripper`
42
42
- Changed `h2quic.Server.Serve()` to accept a `net.PacketConn`
quic-go is an implementation of the [QUIC](https://en.wikipedia.org/wiki/QUIC) protocol in Go. It roughly implements the [IETF QUIC draft](https://v2ray.com/core/external/github.com/quicwg/base-drafts), although we don't fully support any of the draft versions at the moment.
11
+
quic-go is an implementation of the [QUIC](https://en.wikipedia.org/wiki/QUIC) protocol in Go. It roughly implements the [IETF QUIC draft](https://github.com/quicwg/base-drafts), although we don't fully support any of the draft versions at the moment.
12
12
13
13
## Version compatibility
14
14
15
15
Since quic-go is under active development, there's no guarantee that two builds of different commits are interoperable. The QUIC version used in the *master* branch is just a placeholder, and should not be considered stable.
16
16
17
-
If you want to use quic-go as a library in other projects, please consider using a [tagged release](https://v2ray.com/core/external/github.com/lucas-clemente/quic-go/releases). These releases expose [experimental QUIC versions](https://v2ray.com/core/external/github.com/quicwg/base-drafts/wiki/QUIC-Versions), which are guaranteed to be stable.
17
+
If you want to use quic-go as a library in other projects, please consider using a [tagged release](https://github.com/lucas-clemente/quic-go/releases). These releases expose [experimental QUIC versions](https://github.com/quicwg/base-drafts/wiki/QUIC-Versions), which are guaranteed to be stable.
18
18
19
19
## Google QUIC
20
20
21
21
quic-go used to support both the QUIC versions supported by Google Chrome and QUIC as deployed on Google's servers, as well as IETF QUIC. Due to the divergence of the two protocols, we decided to not support both versions any more.
22
22
23
-
The *master* branch **only** supports IETF QUIC. For Google QUIC support, please refer to the [gquic branch](https://v2ray.com/core/external/github.com/lucas-clemente/quic-go/tree/gquic).
23
+
The *master* branch **only** supports IETF QUIC. For Google QUIC support, please refer to the [gquic branch](https://github.com/lucas-clemente/quic-go/tree/gquic).
24
24
25
25
## Guides
26
26
@@ -65,4 +65,4 @@ http.Client{
65
65
66
66
## Contributing
67
67
68
-
We are always happy to welcome new contributors! We have a number of self-contained issues that are suitable for first-time contributors, they are tagged with [help wanted](https://v2ray.com/core/external/github.com/lucas-clemente/quic-go/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). If you have any questions, please feel free to reach out by opening an issue or leaving a comment.
68
+
We are always happy to welcome new contributors! We have a number of self-contained issues that are suitable for first-time contributors, they are tagged with [help wanted](https://github.com/lucas-clemente/quic-go/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). If you have any questions, please feel free to reach out by opening an issue or leaving a comment.
0 commit comments