[OpenSIPS-Users] REG::Zero Window in opensips 1.11.5

Ravitez Ravi ravitez.dondeti at gmail.com
Fri Jun 9 00:00:05 EDT 2017


Hi All,

                Good Day,

                I’m using opensips V1.11.5-TLS and facing a problem with
Zero Window.

                Here’s the scenario :

                                                                NOTIFY

Opensips client ---------------------------à App server

                                                200 OK

Opensips          ß---------------------------- App Server



Now lets assume this

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                                NOTIFY

Opensips client ---------------------------à App server

                                200 OK|200 ok | 200 ok | 200 ok

Opensips          ß---------------------------- App Server



Assuming the size of response if 5000 bytes.

tcp_main detects data in the buffer and passes on to the child process to
read the data from the buffer,

child(buffer size 65535 ) now reads the data from the socket

tcp_read_req()

-          tcp_read_headers()

-          Loops until all the sip messages are extracted and
forwarded/processed

-          Releases the connection to tcp_main



Tcp_main attaches  to IO



During the timer interval where  system reads the data from the socket and
process  the data there would be new data pipelined in the socket, this
gradually  results in Zero window L

Would like to know if there’s a way to process the next available data on
the socket once its been read.Thank you for your time J



Regards,

Ravitez.D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170609/366ac936/attachment.html>


More information about the Users mailing list