Comments (4)
Sure, sounds like a good idea! Want to create a PR?
from webtransport-go.
I believe I've solved the problem. My misunderstanding is that I was assuming CancelWrite()
was the correct way to close the send side of a stream. But according to the go-quic
docs here, calling Close
is the way to do it. I had assumed that would also close the receive side, but that's not the case. After sawpping CancelWrite
for Close
my code appears to be working.
from webtransport-go.
@marten-seemann would you be interested in a PR that adds an examples directory and a simple echo server example, or is that not something you want in the repo?
Looks like I'm not the first to struggle with this: #103
from webtransport-go.
Submitted #122
from webtransport-go.
Related Issues (20)
- Server Freezes for Duration of MaxIdleTimeout on Closing Multiple Unidirectional Streams HOT 1
- how to use webtransport client without tls HOT 3
- give a echo example in repo HOT 2
- can not create lot of connection at the same time HOT 6
- check the client's HTTP/3 settings HOT 1
- server needs to buffer incoming CONNECT requests until it has received the SETTINGS HOT 1
- enable SETTINGS_ENABLE_CONNECT_PROTOCOL
- check for Extended Connect and WebTransport support before issuing WebTransport requests on the client side
- Error on server upgrade: "webtransport: request origin not allowed" HOT 1
- I can NOT connect Chome WT API to this implementation HOT 6
- WebTransport Stream Reset Error on Chrome Browser Reload/Disconnects HOT 2
- expose a TLS key exporter
- Firefox cannot dial webtransport-go server HOT 3
- Memory Leaks in session manager
- Readable streams never end HOT 2
- Large or Many Writes on a Stream get blocked HOT 5
- messages sent from server to browser are fragmented somewhere HOT 7
- Unable to connect with self-signed certificate HOT 16
- goroutine leak in runSendQueue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtransport-go.