netty / netty-incubator-codec-http3

Experimental HTTP3 codec on top of QUIC
Apache License 2.0
167 stars 35 forks source link

NPE in QpackEncoder.streamCancellation() #261

Closed poisonriver closed 9 months ago

poisonriver commented 9 months ago

I would like to resurrect the issue https://github.com/netty/netty-incubator-codec-http3/issues/252 The only solution I found to eliminate this error is to check streamTrackers for null here https://github.com/netty/netty-incubator-codec-http3/blob/main/src/main/java/io/netty/incubator/codec/http3/QpackEncoder.java#L156 But I don't think this is a real 'fix'

normanmaurer commented 9 months ago

@poisonriver I need a way to reproduce it :(

poisonriver commented 9 months ago

@poisonriver I need a way to reproduce it :( @normanmaurer It happens when a request is cancelled in a browser while it's still downloading the data

normanmaurer commented 9 months ago

@poisonriver can you give me an example server code you use that will show the problem when access it via safari / chrome ?

poisonriver commented 9 months ago

@normanmaurer Thank you!