Support Board
Date/Time: Wed, 27 Nov 2024 16:41:54 +0000
MakeHTTPRequest connection left open
View Count: 1066
[2014-09-19 19:20:52] |
onnb - Posts: 662 |
Noticing that after making an HTTP get request, the connection is left open and finally closed by the server after timeout. HTTP connection to localhost:56870 (928) | Closed. Windows error code 10053: An established connection was aborted by the software in your host machine. | 2014-09-19 18:38:04 Is there a reason why SC doesn't close the connection once the request has been received? |
[2014-09-19 19:45:15] |
Sierra Chart Engineering - Posts: 104368 |
This is because Sierra Chart supports pipelining. It is up to the server to close the connection. This is not unusual. This is according to the HTTP specifications. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2014-09-19 19:45:43
|
[2014-09-20 03:35:22] |
onnb - Posts: 662 |
Got it - after sending the response, if the server were to send back to SC a header like below would SC close the connection? "If the server chooses to close the connection immediately after sending the response, it SHOULD send a Connection header including the connection-token close." |
[2014-09-24 07:34:28] |
Sierra Chart Engineering - Posts: 104368 |
We can make this happen. However, really the server can just simply close the connection and it will be closed. There is no need for us to do anything special. It should simply gracefully close the connection. This is all. This is not hard.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2014-09-24 07:35:24
|
To post a message in this thread, you need to log in with your Sierra Chart account: