Bug #8

Web: Refactor Socket error handling

Added by Redmine Admin over 8 years ago. Updated over 8 years ago.

Status:ApprovedStart date:01/24/2011
Priority:HighDue date:
Assignee:Tomas Rylek% Done:

0%

Category:-Spent time:1.00 hour
Target version:-

History

#1 Updated by Redmine Admin over 8 years ago

  • Assignee set to Miroslav Fidler

#2 Updated by Miroslav Fidler over 8 years ago

  • Priority changed from Normal to High

#3 Updated by Miroslav Fidler over 8 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 8 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 :-).

#5 Updated by Tomas Rylek over 8 years ago

  • Status changed from Ready for QA to Approved

Also available in: Atom PDF