Request using Chunked encoding as a header in object GET raises httlib Error
Bug #1483997 reported by
janonymous
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Confirmed
|
Low
|
janonymous |
Bug Description
curl -i http://
if self.chunked:
return self._read_
in line :
def _read_chunked(
....
....
chunk_left = int(line, 16)
To post a comment you must log in.
8 2015-08- 12T12:32: 30.792721+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: self.handle_ one_response( ) (txn: tx3c9937c0b4b04 90bad5ed -0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.792786+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: File "/usr/local/ lib/python2. 7/dist- packages/ eventlet/ ws gi.py", line 507, in handle_one_response (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.792857+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: while self.environ[ 'eventlet. input'] .read(MINIMUM_ CHUNK_ SIZE): (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.792922+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: File "/usr/local/ lib/python2. 7/dist- packages/ eventlet/ ws gi.py", line 189, in read (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.793002+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: return self._chunked_ read(self. rfile, length) (txn: tx3c 9937c0b4b0490ba d5ed-0055caef86 ) (client_ip: 127.0.0.1) 12T12:32: 30.793170+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: File "/usr/local/ lib/python2. 7/dist- packages/ eventlet/ ws gi.py", line 179, in _chunked_read (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.793204+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC object-server: STDERR: File "/usr/local/ lib/python2. 7/dist- packages/ eventlet/ w sgi.py", line 189, in read (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) 12T12:32: 30.793285+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: self.chunk_length = int(rfile. readline( ).split( b";", 1)[ 0], 16) (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.793351+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC object-server: STDERR: return self._chunked_ read(self. rfile, length) (txn: tx3 c9937c0b4b0490b ad5ed-0055caef8 6) 12T12:32: 30.793373+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC proxy-server: STDERR: ValueError: invalid literal for int() with base 16: '' ( txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) (client_ip: 127.0.0.1) 12T12:32: 30.793419+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC object-server: STDERR: File "/usr/local/ lib/python2. 7/dist- packages/ eventlet/ w sgi.py", line 179, in _chunked_read (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) 12T12:32: 30.793492+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC object-server: STDERR: self.chunk_length = int(rfile. readline( ).split( b";", 1) [0], 16) (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86) 12T12:32: 30.793563+ 05:30 alok-HP- Compaq- 8200-Elite- MT-PC object-server: STDERR: ValueError: invalid literal for int() with base 16: '' (txn: tx3c9937c0b4b04 90bad5ed- 0055caef86)
909189 2015-08-
909190 2015-08-
909191 2015-08-
909192 2015-08-
909193 2015-08-
909194 2015-08-
909195 2015-08-
909196 2015-08-
909197 2015-08-
909198 2015-08-
909199 2015-08-
909200 2015-08-