process input requests
| 833 | |
| 834 | // process input requests |
| 835 | void processReply(SSL& ssl) |
| 836 | { |
| 837 | if (ssl.GetError()) return; |
| 838 | |
| 839 | if (DoProcessReply(ssl)) { |
| 840 | // didn't complete process |
| 841 | if (!ssl.getSocket().IsNonBlocking()) { |
| 842 | // keep trying now, blocking ok |
| 843 | while (!ssl.GetError()) |
| 844 | if (DoProcessReply(ssl) == 0) break; |
| 845 | } |
| 846 | else |
| 847 | // user will have try again later, non blocking |
| 848 | ssl.SetError(YasslError(SSL_ERROR_WANT_READ)); |
| 849 | } |
| 850 | } |
| 851 | |
| 852 | |
| 853 | // send client_hello, no buffering |
no test coverage detected