Welcome! Log In Create A New Profile

Advanced

Re: How to make a post subrequest with response body from parent?.

February 27, 2012 02:29PM
Hi,

Just in case someone will find this in google. I have found a solution.

You will need to populate sr->request_body->bufs and then make sure to set sr->headers_in.content_length_n...

You can check the http echo module subrequest.c file and see how it sets the content length.
Subject Author Posted

How to make a post subrequest with response body from parent?.

edo888 February 25, 2012 07:06PM

Re: How to make a post subrequest with response body from parent?.

edo888 February 26, 2012 08:15PM

Re: How to make a post subrequest with response body from parent?.

edo888 February 26, 2012 08:27PM

Re: How to make a post subrequest with response body from parent?.

edo888 February 27, 2012 02:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready