Comments (2)
That's standard library functionality.
from webtransport-go.
Can you help with an example how I can achieve this
Current Implementation:
`
stream, err := conn.AcceptStream(conn.Context())
if err != nil {
fmt.Println("Session closed, not accepting more bidi streams:", err)
break
}
for {
buf := make([]byte, 1024)
n, err := stream.Read(buf)
if err != nil {
fmt.Printf("Error reading from bidi stream %v\n", err)
break
}
}
`
Required:
buf, err := stream.ReadAll()
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
- Panic on assignment to entry in nil map at `streamsMap.AddStream` HOT 1
- quic-go: HasPacingBudget Issue HOT 3
- How to negotiate a subprotocol ? HOT 4
- Closing a bidirectional stream
- Reporting a vulnerability HOT 2
- Can I deploy this service in K8s (Kubernetes)? HOT 1
- Corruption of unknown origin in data sent through unidirectional stream HOT 3
- race condition writing the stream header when calling Write and Close HOT 1
- 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.