I tried also with application/json but get same error too.
I take a look on debug files changing only the content type and
basically differ on the end where next lines don't exist when
application/json
21:45:34:394 022A4070 TCustomSslWSocket.Do_FD_CLOSE error #0 592
21:45:34:396 022A4070 *CloseCalled 592
21:45:34:397 022A4070 BIO_ctrl_pending(sslbio) = 0 [154]
21:45:34:400 022A4070 Socket data pending: 0 Err: 0 592
21:45:34:402 022A4070 SslInternalShutdown 592
21:45:34:404 022A4070 ICB> SSL3 alert write warning close notify
21:45:34:405 022A4070 BIO_ctrl_pending(nbio) = 27 [155]
21:45:34:407 022A4070 SslShutdownCompleted *0* 592
21:45:34:409 022A4070 TriggerEvents 592 SslState: SSL_ST_OK //
MayFD_Read=0 MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1
bSslAllSent=-1 bAllSent=-1
21:45:34:410 022A4070 BIO_ctrl_pending(nbio) = 27 [156]
21:45:34:412 022A4070 TriggerEvent sslFdWrite 592
21:45:34:414 022A4070 BIO_ctrl_pending(sslbio) = 0 [157]
21:45:34:415 022A4070 BIO_ctrl_get_write_guarantee(nbio) = 4096 [158]
21:45:34:417 022A4070 SslAsyncSelect 592, 2 FD_WRITE
21:45:34:419 022A4070 TCustomSslWSocket.Do_FD_WRITE 592
21:45:34:421 022A4070 BIO_ctrl_pending(nbio) = 27 [159]
21:45:34:423 022A4070 BIO_read(nbio, 0x18BC88, 27) = 27 [160]
21:45:34:425 022A4070 my_RealSend (0x250, 1621128, 27) = 27 [161]
21:45:34:426 022A4070 BIO_ctrl_pending(nbio) = 0 [162]
21:45:34:428 022A4070 BIO_ctrl_pending(nbio) = 0 [163]
21:45:34:429 022A4070 BIO_ctrl_pending(nbio) = 0 [164]
21:45:34:430 022A4070 TriggerSslShutDownComplete(0) 592
21:45:34:432 022A4070 TCustomWSocket.Shutdown 1 592
21:45:34:433 022A4070 TriggerEvent sslFdClose 592
21:45:34:435 022A4070 SslShutdownCompleted *1* 592
21:45:34:436 022A4070 SslAsyncSelect 592, 32 FD_CLOSE
21:45:34:437 022A4070 TCustomSslWSocket.Do_FD_CLOSE error #0 592
21:45:34:439 022A4070 BIO_ctrl_pending(sslbio) = 0 [165]
21:45:34:441 022A4070 Socket data pending: 0 Err: 0 592
21:45:34:442 022A4070 FCloseInvoked=0 592
21:45:34:444 SessionClosed Error: 0
21:45:34:446 022A4070 ResetSslSession 592
El 13/07/2015 a les 17:12, RTT ha escrit:
On 13-Jul-2015 14:15, Xavier Mor-Mur wrote:
Content-Type: application/x-www-form-urlencoded
Are you sure this is the Content-Type you should indicate? The HttpCli
has this by default, but you are sending json data so probably the
server is expecting "application/json"?
--
Xavier Mor-Mur
--
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