
Hi Duncan,
On 14 April 2018 at 17:43, DH@synoia.com wrote:
From: Duncan Hare DuncanCHare@yahoo.com
Why http and wget:
END
Why END? Don't know. will delete.
Signed-off-by: Duncan Hare DuncanCHare@yahoo.com
Changes in v10: None
There is no change log here. Has nothing changed since v1? changed c to C for cover meno tag.
This code looks OK to me, but please can you run it through patman? I see what look like some style errors. Has passed patman. Only error messages are for packed structures.
How can we create a test for this? Can we add something to test_net.py ? Do not see why not. It's only an app and has no hardware dependencies. One needs a web server and test file, and code the verify the integrity of the test file in local memory.I used a file with line numbers and a pattern repeated on every "line". Make it easy to findinvalid offsets mis ordered packets. We use nginx as the web server. We used wbox for a while, but then mvbed to nginx. We could not get Apacheconfigured. For internet test we use a Ubuntu image & nginx on the Amazon cloud. The internet path to Amazon does a nice job of scrambling the order of packets.
Regards, Duncan