[OpenSIPS-Devel] [opensips] proto_bin: add check for packet marker, use proto_tcp_read function (#767)

ionel-cerghit notifications at github.com
Wed Jan 20 15:33:57 CET 2016


when receiving a bin packet check if the packet marker is correct
replace bin_read with proto_tcp_read
fix header len
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/767

-- Commit Summary --

  * proto_bin: add check for packet marker, use proto_tcp_read function

-- File Changes --

    M bin_interface.h (4)
    M modules/proto_bin/proto_bin.c (44)
    M modules/proto_bin/proto_bin.h (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/767.patch
https://github.com/OpenSIPS/opensips/pull/767.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/767
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160120/2225d815/attachment.htm>


More information about the Devel mailing list