[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu Eoan) Status: Fix Released => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu Trusty) Status: Triaged => Won't Fix ** Changed in: apache2 (Ubuntu Xenial) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu Disco) Status: Triaged => Won't Fix ** No longer affects: apache2 (Ubuntu Focal) ** Changed in: apache2 (Ubuntu) Importance: Medium => Undecided ** Changed in: apache2 (Ubuntu Disco) Importance: Medium => Undecided ** Changed in: apache2 (Ubuntu Bionic) Status: New => Triaged ** Changed in: apache2 (Ubuntu Xenial) Status: New => Triaged ** Changed in: apache2 (Ubuntu Trusty) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu Disco) Status: Triaged => Won't Fix ** No longer affects: apache2 (Ubuntu Focal) ** Changed in: apache2 (Ubuntu) Importance: Medium => Undecided ** Changed in: apache2 (Ubuntu Disco) Importance: Medium => Undecided ** Changed in: apache2 (Ubuntu Bionic) Status: New => Triaged ** Changed in: apache2 (Ubuntu Xenial) Status: New => Triaged ** Changed in: apache2 (Ubuntu Trusty) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
If the bug reported above (Upstream Bug 63891 - Balancer failover fails for POST with small request Body and CL set) is pertinent for you please file a new Ubuntu bug, and then we can start to track it properly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
Since this is fixed in 2.4.40, that means eoan and focal have the fix already, since they are at 2.4.41. Confirmed in the CHANGES file: """ Changes with Apache 2.4.40 ... *) mod_proxy_http: forward 100-continue, and minimize race conditions when reusing backend connections. PR 60330. [Yann Ylavic, Jean-Frederic Clere] """ ** Changed in: apache2 (Ubuntu Eoan) Status: Triaged => Fix Released ** Changed in: apache2 (Ubuntu Focal) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
Since this is fixed in 2.4.40, that means eoan and focal have the fix already, since they are at 2.4.41. Confirmed in the CHANGES file: """ Changes with Apache 2.4.40 ... *) mod_proxy_http: forward 100-continue, and minimize race conditions when reusing backend connections. PR 60330. [Yann Ylavic, Jean-Frederic Clere] """ ** Changed in: apache2 (Ubuntu Eoan) Status: Triaged => Fix Released ** Changed in: apache2 (Ubuntu Focal) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
>From the upstream bug report, it looks like it's been cleanly backported to 2.4.38 and newer. Disco is 2.4.38, and eoan and focal are both 2.4.41 presently. Focal may get the upstream-backported fix when we next merge from debian, the others may require SRU if we want to include it. bionic and trusty are on older versions of apache2, however, and so may need more effort to backport. ** Also affects: apache2 (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Focal) Importance: Medium Status: Triaged ** Also affects: apache2 (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: apache2 (Ubuntu Disco) Status: New => Triaged ** Changed in: apache2 (Ubuntu Eoan) Status: New => Triaged ** Changed in: apache2 (Ubuntu Disco) Importance: Undecided => Medium ** Changed in: apache2 (Ubuntu Eoan) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 Importance: Medium => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu) Status: New => Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
** Changed in: apache2 (Ubuntu) Status: New => Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
Launchpad has imported 8 comments from the remote bug at https://bz.apache.org/bugzilla/show_bug.cgi?id=60330. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2016-11-02T16:07:57+00:00 Jay R. Wren wrote: Reverse proxy of 100-continue aware backend, sends 100 continue even when backend does not. This causes a client to think it should write a request body, while the backend may still respond with a 400 and not read the request body. mod_proxy_http then responds with 502 as a result of AH01097: pass request body failed The backend is doing the right thing: it did not send a 100 continue so it should not be required to read a request body, regardless of transfer encoding or content-length. Expected: mod_proxy_http reverse proxy should not send 100-continue to a client unless the backend does. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/0 On 2016-11-11T22:28:03+00:00 Jay R. Wren wrote: Created attachment 34438 in the reverse proxy case, if request had Expects: 100-continue, delay writing 100 continue response until backend has sent 100-continue response Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/1 On 2016-11-16T00:07:40+00:00 Ylavic-dev wrote: Created attachment 34451 Forward 100-continue (and minimize race when reusing backend connections) I proposed this patch a while ago on the dev@ list ([1]), this is an update for latest trunk, with more (though incomplete) testing. Could you please give it a try? [1]. https://lists.apache.org/thread.html/4e541e032b8a77ebec8248534637b47cdcd4f38af79baa5259845db0@1430360070@%3Cdev.httpd.apache.org%3E Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/3 On 2016-11-21T20:25:22+00:00 V-jiz-h wrote: *** Bug 55433 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/4 On 2016-12-09T03:08:26+00:00 Jay R. Wren wrote: Yann, I tried that patch, but I still get 503 error when expecting a 100 Continue response. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/7 On 2018-07-04T16:04:20+00:00 Michael Osipov wrote: Any chance that this will be fixed? Have the very same problem from a backend Tomcat. I guess I need to drop mod_proxy and try mod_ajp or drop Apache HTTPd altogether for this. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/8 On 2018-07-04T21:05:01+00:00 Ylavic-dev wrote: *** Bug 57853 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/9 On 2018-07-04T21:18:54+00:00 Ylavic-dev wrote: Sorry it's been a long time, I think we need more informations here as to the exact issue. What exactly isn't working with the proposed patch? Where are 100-continue or request bodies lacking or sent inappropriately, on which side (client/backend)? IOW, can we please have a description/scenario of what is supposed to work and how, possibly with the expected request/response on both sides? What is the configuration being tested? Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1641238/comments/10 ** Changed in: apache2 Status: Unknown => Confirmed ** Changed in: apache2 Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
Hi Robie, The specific need is that www.jujucharms.com uses apache2 as a reverse proxy to charmstore. The upload of resources and charms is suboptimal without 100-continue support. While investigating adding 100-continue support, we ran into this bug. As for a general need for this to be fixed in Ubuntu, I know of none, other than correctly supporting 100-continue in http reverse proxies. Only Ubuntu users using mod_proxy_http to reverse proxy a service which implements 100-continue are impacted by this problem. There must not be any. I'm honestly surprised that this bug has existed for so long. I am working with upstream to get this or a similar patch applied. I'll continue doing so. Thanks, -- Jay -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1641238] Re: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue
Thank you for taking the time to report this bug and helping to make Ubuntu better. I think we should wait until upstream commits a fix for this before we do anything in Ubuntu. Or is there a specific need that requires this to fixed sooner in Ubuntu? Under what circumstances are Ubuntu users impacted by this problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641238 Title: as a reverse proxy, a 100 continue response is sent prematurely when a request contains expects: 100-continue To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1641238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs