yyweii commented on PR #2399:
URL: https://github.com/apache/brpc/pull/2399#issuecomment-2465993927

   @ehds 
我尝试了下用boringssl,打开http_verbose,有打印发送请求的信息,但是收不到回复。如果把AddBIOBuffer去掉,能够正常运作。可能BIO_s_mem并不能代替BIO_f_buffer
   
     auto m1 = BIO_new(BIO_s_mem());
     auto m2 = BIO_new(BIO_s_mem());
     auto m3 = BIO_push(m1, m2);
     string buf = "123";
     int nw = BIO_write(m3, buf.data(), buf.size());
     cout << "write nw=" << nw << endl;
     BIO_flush(m3);
     char rd_buf[16] = {0};
     int nr = BIO_read(m2, rd_buf, 16);
     cout << "read nr=" << nr << endl;
   
   输出:
   write nw=3
   read nr=-1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to