[SR-Users] TCP port re-using when doing HTTP transfer

Giacomo Vacca giacomo.vacca at gmail.com
Tue May 2 10:40:30 CEST 2017


Hi Agalya,
I'm not sure I understand this part: "In the mock server if I send the
response with a delay of 1 sec then, TCP port are opened and closed for
every HTTP transfer.".
Are there other requests while the current connection is waiting for a
response?

Perhaps the best way is to provide a sanitised network trace for us to see
the details.

Best Regards,
Giacomo


On 1 May 2017 at 21:44, Ramachandran, Agalya (Contractor) <
Agalya_Ramachandran at comcast.com> wrote:

> Hi Giacomo,
>
>
>
> I am using http_async_client module to do http transfer.
>
> Currently am testing the HTTP service with a mock server.
>
>
>
> If I send the HTTP response immediately for the POST request, then the TCP
> connections are reused from kamailio.
>
> In the mock server if I send the response with a delay of 1 sec then, TCP
> port are opened and closed for every HTTP transfer.
>
>
>
> Is there a way or any configuration to limit the number of TCP port
> opening for the HTTP transfers?
>
> Please clarify me.
>
>
>
> Regards,
> Agalya
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170502/4aec7a43/attachment.html>


More information about the sr-users mailing list