Repository navigation
How to test Web Transport port to WASM #2036
Replies: 8 comments 60 replies
|
There is no such thing as QUIC over HTTP/0.9. It is the other way around. During the early tests of the QUIC transport protocol, the QUIC working group adopted HTTP/0.9 as an example of application running over QUIC. That was back in 2017, while HTTP3 was very much a work in progress. Multiple application protocols can run over QUIC. They are identified by the ALPN parameter of the TLS session that is negotiated during the QUIC handshake. HTTP3 uses ALPN="h3"; HTTP/0.9 uses ALPN="hq-interop". You can find an example of web transport server running above picoquic in the "baton" sample. |
|
Did you read the documentation in pico_webtransport.md? |
|
There is no code yet for the echo sevrer, but there is code for the "devious baton" test -- just build everything and look for the "baton_app", which has both client and server modes. |
|
You cannot test web transport by itself, no more that you could test TCP by itself. You are always testing an application protocol running on top of web transport. The "devious baton" protocol was developed by Alan Frindell to test web transport implementation, and is specified in this Internet draft. When testing on a browser, you need to have a javascript implementation of the application. There is one available on Github. |
|
For some reason, Github is not displaying your last comments into this thread. I received the corresponding email, but the messages just do not show in the web interface. From what I read on the mail, your WASM attempt failed because you needed to also include 1- Set an argument to CMake to fetch and include Not using OpenSSL has a cost. The build will fallback to the
However, since everything is compiled from code, your WASM assembly ought to be complete. |
|
Sorry, I was not clear. You need both options: |
|
Opened issue #2076 to track the CMake issue when building without OpenSSL. |
|
@guest271314 -- Can you please check PR #2077? It is an update to the PTLS finder used when building picoquic. The update is to trim the dependency lists and the returned set of libraries, to not include openssl dependencies. It should solve the "Could NOT find PTLS" issue that you encountered. |


Uh oh!
There was an error while loading. Please reload this page.
I read this
picoquic/doc/pico_webtransport.md
Lines 62 to 66 in d399d3a
and am trying to understand how that works. My novice understand is that WebTransport required HTTP/3.
What I'm actually trying to do is port a WebTransport server implementation to JavaScript or compile to WASM to I can create a WebTransport server in Chromium browser over Direct Sockets
UDPSocket.All reactions