Skip to content

Commit fdbbedb

Browse files
committed
enable datagrams
1 parent 54b6919 commit fdbbedb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rhp/v4/quic/quic.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ func Serve(l *quic.Listener, s *rhp4.Server, opts ...ServeOption) {
268268
wts := &webtransport.Server{
269269
H3: &http3.Server{
270270
Handler: mux,
271+
272+
EnableDatagrams: true,
271273
},
272274
CheckOrigin: func(*http.Request) bool {
273275
return true // allow all origins

0 commit comments

Comments
 (0)