Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303339 - www-apache/anyterm-1.1.29 doesn't respect HTTP/1.0
Summary: www-apache/anyterm-1.1.29 doesn't respect HTTP/1.0
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2010-02-03 15:09 UTC by René Köcher
Modified: 2021-04-15 01:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for HTTP/1.0 client handling (anyterm-1.1.29-respect-http-1.0.patch,1.99 KB, patch)
2010-02-03 15:13 UTC, René Köcher
Details | Diff
Updated Ebuild (anyterm-1.1.29-r1.ebuild,1.17 KB, text/plain)
2010-02-03 15:13 UTC, René Köcher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Köcher 2010-02-03 15:09:46 UTC
As by version 1.1.29 anyterm doesn't honor HTTP/1.0 client requests
and will spam them with chunked responses.

This results in incompatibility with both lighttpd and nginx
since both expect a HTTP/1.0 compatible response.

With the attached patch the missing support is added and anyterm can
be used on the above servers (via mod_proxy) as well as non-HTTP/1.1 clients.

I'm going to submit this to the original author too but since it's compatible
with the current release - why not add it?

Reproducible: Always

Steps to Reproduce:
1. emerge anyterm with the default configuration (localhost, port 7676)
2. setup lighttpd or nginx to proxy request to the above host:port
3. try to open the proxied anyterm in your browser

Actual Results:  
lighttpd:  displays a plain '0'
nginx: displays part of the response header + '0'

Expected Results:  
A usable anyterm window should appear.
Comment 1 René Köcher 2010-02-03 15:13:01 UTC
Created attachment 218291 [details, diff]
Patch for HTTP/1.0 client handling
Comment 2 René Köcher 2010-02-03 15:13:57 UTC
Created attachment 218293 [details]
Updated Ebuild