Re: feature/quic-server what to do with SSL_POLL_EVENT_EW and why I get it.

jean-frederic clere <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
On 9/5/24 12:02 PM, jean-frederic clere wrote:
> Hi,
> 
> I am sending a file to chrome after a bunch of write and poll to check I 
> can go on, I receive a  SSL_POLL_EVENT_EW on the bidi stream.

After debugging my code I noted I sent crap to the browser, reset stream 
makes sense in the case...

Sorry for the noise.

> +++
> {"name":"transport:packet_sent","data":{"header":{"packet_type":"1RTT","packet_number":17,"dcid":""},"datagram_id":20,"frames":[{"frame_type":"reset_stream","stream_id":4,"error_code":257,"final_size":8244,"length":6}]},"time":0}
> +++
> So the browser is not happy and reset the stream, I have a 3 questions:
> 
> Where can I find what "error_code":257 corresponds to?
> 
> Is the way to prevent the reset? like checking that SSL_write_ex2() can 
> do more (other than polling for SSL_POLL_EVENT_W)
> 
> What to do after the reset (chrome seems to stop doing HTTP3 after the 
> reset...)
> 

-- 
Cheers

Jean-Frederic

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/406d1432-d78d-4bf1-a3c1-91b398210ac9%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.