阅读背景:

如何使用阻塞BIO获得一个OpenSSL服务器以彻底关闭?

来源:互联网 

In a larger server app I have one thread with a basic OpenSSL server using BIO in blocking mode because that seemed the simplest way. My code accepts a single type of request from a phone (Android or iOS, and I'm not writing that code) and returns a hex string wrapped in basic HTML (describing part of my server state). I've gone with SSL and a psuedo-HTTPS server because that makes things easier for the phone developer. If there's anything in the request that the server doesn't understand I return a 404. This all works.In a larger server app I have one thread with a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: