Consultor Eletrônico



Kbase P142495: Application using server socket periodically gets fatal transport failure -22
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/9/2009
Status: Verified

SYMPTOM(s):

Fatal transport failure -22. (5487)

Application is using a server socket

Application runs for a few days then the error happens

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

CAUSE:

In the applications READ-RESPONSE procedure the code was checking for IF SELF:CONNECTED = FALSE and then doing a RETURN. The application should have been cleaning up the disconnected client socket object handle before returning.

FIX:

Modify the application code and add DELETE OBJECT SELF before returning from the READ-RESPONSE procedure when it is detected that the socket has disconnected.