Web: Refactor Socket error handling
|Assignee:||Tomas Rylek||% Done:|
|Category:||-||Spent time:||1.00 hour|
#3 Updated by Miroslav Fidler over 10 years ago
- Status changed from New to In Progress
- Assignee changed from Miroslav Fidler to Tomas Rylek
Attempted to sort it out.
New methods: GetError and GetErrorDesc added, that terrible piece of code to handle MT removed.
is_error is removed from Data.
I have tried to blind fix SSL as well, but it definitely needs more checking.
Please check and finish fixes in SSL.
#4 Updated by Tomas Rylek over 10 years ago
- Status changed from In Progress to Ready for QA
Built SSL socket support and tested on a https server. Fixed a few error handling issues (extended three-parameter version of Socket::Data::SetSockError, SSL_get_shutdown check in SSLSocketData::Read to check for graceful SSL socket shutdown). Seems to work :-).