[OpenSIPS-Devel] [opensips] Problems when receiving binary content	using SCTP (#419)
    jamesabravo 
    notifications at github.com
       
    Mon Mar  2 09:48:45 CET 2015
    
    
  
If sctp_server_rcv_loop() in sctp_server.c receives a 0-terminated packet it removes the 0.
This causes problems with binary content when it ends with a 0.
Enabling NO_ZERO_CHECKS would fix this issue but would also change the behaviour of bin_receive_loop() in bin_interface.c which also uses the define.
I believe removing the section in sctp_server_rcv_loop() is the right move. 
If your interested, I've uploaded a patch at: 
https://gist.github.com/jamesabravo/c0e88a4af34c091c7b57
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/419
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150302/e8199b1b/attachment.htm>
    
    
More information about the Devel
mailing list