echoping should be recompiled using HTTP10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
echoping (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The package echoping is compiled using HTTP/1.1, but really it does not support it. I.e.
1) IETF RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1 in paragraph 3.6.1 states
"All HTTP/1.1 applications MUST be able to receive and decode the
"chunked" transfer-coding, and MUST ignore chunk-extension extensions
they do not understand."
But echoping has no implementation of chunked transfer encoding.
2) RFC 2616 in paragraphs 8.1.2.1 and 14.10 does not require the server to close
TCP connection in the case of "close" token present in client's Connection: header.
The server may choose to set connection persistent even if client sent "close" token.
But echoping assumes, that connection must close, and does not check, if a pesponse completly received.
So the echoping must be recompiled using #define HTTP10 in http.h file
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: echoping 6.0.2-4
ProcVersionSign
Uname: Linux 3.2.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
Date: Thu Jun 13 14:55:34 2013
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: echoping
UpgradeStatus: No upgrade log present (probably fresh install)