Hi

How can I use TSslHttpCli in multi threading app.

I create Thread with TSslHttpCli, TSslContext, TIcsLogger, TSslAvlSessionCache, put the proper URL and pem certificate.
When try to POST data ...

[11:00:46.635] Logger:11:00:46:551 State = httpNotConnected
[11:00:46.638] Logger:11:00:46:552 Login  "DESTINATION URL"
[11:00:46.638] Logger:11:00:46:555 State = httpDnsLookup
[11:00:46.639] Logger:11:00:46:639 State = httpDnsLookupDone
[11:00:46.658] Logger:11:00:46:657 connect to "DESTINATION IP"/443
[11:00:46.661] Logger:11:00:46:661 023E6F20 Socket handle created 960
[11:00:46.664] Logger:11:00:46:663 TWSocket will connect to "DESTINATION IP":443
[11:00:46.680] Logger:11:00:46:680 SessionConnected
[11:00:46.681] Logger:11:00:46:680 023E6F20 TCustomSslWSocket.Do_FD_WRITE 960

[11:00:48.214] Logger:11:00:48:214 State = httpAborting

[11:00:48.216] Logger:11:00:48:216 023E6F20 *CloseCalled 960
[11:00:48.219] Logger:11:00:48:219 023E6F20 TCustomWSocket.Shutdown 1 960
[11:00:48.221] Logger:11:00:48:221 SessionClosed Error: 0
[11:00:48.227] Logger:11:00:48:227 State = httpReady
[11:00:48.229] Logger:11:00:48:229 PrepareNTLMAuth begin, FStatusCode = 404 FProxyAuthNTLMState=0 FAuthNTLMState=0 [11:00:48.231] Logger:11:00:48:231 PrepareNTLMAuth end, FStatusCode = 404 FProxyAuthNTLMState=0 FAuthNTLMState=0
[11:00:48.236] Logger:11:00:48:235 RequestDone

When I put all component to the form all work ok.

Best Regards
Boris
--
Signature
------------------------------------------------------------------------
Boris JURČAK
Kostra d.o.o.
Aškerčeva 15
3000 CELJE
SLOVENIA, EU
M: +386 (0)41 640 637
T: +386 (0)3 490 82 20
F: +386 (0)3 490 82 21
www.kostra.si
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to