[sr-dev] [kamailio] Utils module: http_request modification (#321)

Laurent Debacker notifications at github.com
Wed Sep 9 10:33:57 CEST 2015


Hi,
Here is a modification of the http_request function of the utils module.
The idea is to ignore empty lines at the beginning of the http response.
This way, the response returned to Kamailio is the first non empty line of the http response.
This is to solve an issue encountered with apache2 sometimes returning empty lines.
I am no c++ developper and no acquainted to Github (double check the patch).
Thanks,
Laurent.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/321

-- Commit Summary --

  * Update functions.c
  * Update: functions.c

-- File Changes --

    M modules/utils/functions.c (19)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/321.patch
https://github.com/kamailio/kamailio/pull/321.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150909/b3eb9988/attachment.html>


More information about the sr-dev mailing list