Skip to content

curl 8.12版本调用openssl 3.4.1时无法抓到fd值 #822

@hotCodemen

Description

@hotCodemen

ubuntu 25.04自带curl版本中,通过程序无法抓到fd值,调研curl源码发现它用了BIO_meth_set_read和BIO_meth_set_write函数并且在函数SSL_set0_rbio调用时没将套接字fd写到的bio->num里,造成获取的fd值是0,目前没找到好的方案,是否有好的解决方案?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requestedwontfixThis will not be worked on
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions