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