Consultor Eletrônico



Kbase P121012: Error 140 when running client during response to web request
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
UNIX

SYMPTOM(s):

Error 140 when running client during response to web request

** Pipe to subprocess has been broken. (140)

4GL client runs to deliver data as web request response

HTTP request is canceled by client before response is fully transmitted

CAUSE:

When the HTTP client cancels a request, the web server in charge of the request will shut down the communication socket with the process in charge of providing the data for the request response.
If a Progress 4GL client was in charge of providing the response, it will receive SIGPIPE when attempting to write more data to the socket after it has been shut down. This is expected behavior.

FIX:

To prevent the error message, the users should avoid the following:
- close the web browser window before the response is fully displayed,
- navigate to a different page before the current page is completely loaded,
- cancel a request (such as using the "close" button).