Go to file
Javier Sánchez Parra 36b5064970 #1000 Fix ogClient HTTP length handling
Irina reports that "Partition assistant"/"Asistente de particionado" is
not working. This is happening because ogClient is not reading the full
data ogServer sends when the entire HTTP PDU is larger than 1024.
However, ogClient should read the whole message, reading until read data
length is greater or equal to "Content-Length" header value.

ogClient fails to obtain "Content-Length" value because is looking for
"content-length", be aware of the case sensitivity. It also needs to
take into account the header length because read data length also
includes headers.

This patch updates ogClient to:

1) look for "Content-Length instead of "content-length".

2) compare read date length with content length plus headers
   length.
2020-08-25 10:55:45 +02:00
cfg Rename 'linux' mode to 'live' mode 2020-06-05 14:55:10 +02:00
src #1000 Fix ogClient HTTP length handling 2020-08-25 10:55:45 +02:00
tests rename main.py to ogclient 2020-06-26 11:04:32 +02:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
COPYING Rename LICENSE to COPYING 2020-06-18 16:45:46 +02:00
ogclient rename main.py to ogclient 2020-06-26 11:04:32 +02:00
setup.py rename main.py to ogclient 2020-06-26 11:04:32 +02:00