You are not logged in.
Pages: 1
Well, i make more some tests, and really isn't the change of timeout the problem.
I'm continue going to study my problem and if i resolve, I post what happened.
Thanks for the replies.
I tryed with TSQLHttpClient and TSQLHttpClientWinSock, and with the two I receive the same result...
I have two threads, with sendtimeout different. In this case return de exception 'HttpSendHttpResponse failed: Tentativa de operação em uma conexão de rede não existente (1229)'. Maybe I cannot work with differents timeouts in differents threads in the same time. Am I correct?
Can I change the SendTimeOut and ReceiveTimeout on TSQLHttpClient.Create() in execution time?
I try make the implementation but if I set differents Timeouts the program goes into this exception of method THttpApiServer.Execute on SynCtrSock.pas:
except
on E: Exception do
// handle any exception raised during process: show must go on!
if not E.InheritsFrom(EHttpApiServer) or // ensure still connected
(EHttpApiServer(E).LastError<>HTTPAPI_ERROR_NONEXISTENTCONNECTION) then
SendError(STATUS_SERVERERROR,E.Message,E);
end;
and E.Message have 'HttpSendHttpResponse failed: Tentativa de operação em uma conexão de rede não existente (1229)'
I don't find anything like this in the forum...
Can someone help me? What can be happening?
Thanks (sorry my english)
Pages: 1