SSL_read() fails when using manually managed buffers

udhayakumar udhayakumar at fatpipeinc.com
Wed Jan 4 16:03:18 UTC 2023


hi Christian,

                 i Think it Depends Http Version, https 2 has server 
send binary streams of data! Http1 has  plain text  Http 1 works may be!


On Wednesday 04 January 2023 09:25 PM, Christian Mazakas wrote:
> Hey everyone,
>
> I'm trying to get libssl to work without using any built-in I/O so for 
> this,
> I'm using manually managed BIO pairs.
>
> It seems like I can get a TLS Client Hello written to a user-provided 
> buffer
> but I'm having trouble getting the server to parse this data and generate
> its own Server Hello in response.
>
> I have a Compiler Explorer link that demonstrates my issue here:
> https://godbolt.org/z/ncxezWfqG
>
> Is there something plainly obvious that I'm missing? I've been 
> scouring the
> docs so I'm wondering if there's something easy I missed.
>
> - Christian

-- 
Thanks,
udhayakumar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230104/ba49bf2c/attachment.htm>


More information about the openssl-users mailing list