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.
Created attachment 218291 [details, diff] Patch for HTTP/1.0 client handling
Created attachment 218293 [details] Updated Ebuild
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35ac97b6b9f22d5ebe9d832d85c409723af9ad6 commit e35ac97b6b9f22d5ebe9d832d85c409723af9ad6 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2023-12-27 22:06:07 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2023-12-27 22:12:44 +0000 package.mask: Last rite www-apache/anyterm Bug: https://bugs.gentoo.org/303339 Bug: https://bugs.gentoo.org/712770 Bug: https://bugs.gentoo.org/732282 Bug: https://bugs.gentoo.org/782907 Bug: https://bugs.gentoo.org/870883 Bug: https://bugs.gentoo.org/898858 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60a0f642d16fa785a6e0e4fa247ea7816821493 commit a60a0f642d16fa785a6e0e4fa247ea7816821493 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-01-26 09:10:16 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-01-26 09:15:19 +0000 www-apache/anyterm: treeclean Closes: https://bugs.gentoo.org/303339 Closes: https://bugs.gentoo.org/712770 Closes: https://bugs.gentoo.org/732282 Closes: https://bugs.gentoo.org/782907 Closes: https://bugs.gentoo.org/870883 Closes: https://bugs.gentoo.org/898858 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> profiles/package.mask | 6 - www-apache/anyterm/Manifest | 1 - www-apache/anyterm/anyterm-1.1.29-r1.ebuild | 55 -------- .../files/anyterm-1.1.28-respect-LDFLAGS.patch | 26 ---- .../anyterm/files/anyterm-1.1.29-boost-1.50.patch | 58 -------- .../anyterm/files/anyterm-1.1.29-gcc-4.4.patch | 10 -- www-apache/anyterm/files/anyterm-1.1.29-gcc6.patch | 146 --------------------- www-apache/anyterm/files/anyterm.conf.d | 7 - www-apache/anyterm/files/anyterm.init.d | 20 --- www-apache/anyterm/metadata.xml | 5 - 10 files changed, 334 deletions(-)