Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_filter processes segmented tcp response |
|
Author |
|
chrissmith51
Joined: 28 May 2014 Posts: 7
|
Posted: Wed 14 Jan '15 21:56 Post subject: mod_filter processes segmented tcp response |
|
|
Hi,
I've made an output content filter using mod_filter to process a response from my proxy and insert our company logo at the end of a fetched webpage.
However, when a large HTTP request is made, the reverse proxy works fine, but the request will be broken into TCP segments to be transported across the network. Each of these segments is processed by my filter, which fails until it reaches the final segment (i.e. I look for the closing body tag).
How can I tell my filter to ignore TCP segments and only process the resulting re-assembled HTTP response? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 17 Jan '15 23:27 Post subject: |
|
|
Disable keepAlive and or choose http/1.0 so the front end server has to send the request at ones and not in chunks. |
|
Back to top |
|
chrissmith51
Joined: 28 May 2014 Posts: 7
|
Posted: Sun 18 Jan '15 10:58 Post subject: |
|
|
Ta! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 18 Jan '15 16:23 Post subject: |
|
|
Means what? |
|
Back to top |
|
|
|
|
|
|