On 17/12/2016 06:47, Black Michael wrote:
> The packet count from a windump capture shows 11 small transactions 
> and 6 larger ones as you would expect -- it doesn't include the 
> directory download...capture was started after the window was opened. 
>  But I don't see a difference for a set of 5.

Hi Mike,

another clue that may help. The RemoteFile class reduces network traffic 
by only doing an HTTP HEAD request for each request and only if the 
response does not turn out to be a redirect or error does it go on to do 
a GET request. That is what you are seeing here, 11 HTTP HEADrequests 
followed by the first 6 HTTP GET requests. If you used the generic 
mirror server then I would expect more small transactions as the 
redirects are followed using just HEAD requests.

Although it would be a small amount duplication of work it might be 
interesting to only use GET requests. At around line 129 in 
SampleDownlaoder/RemoteFile.cpp change:

network_manager_->head (request);

to:

network_manager_->get (request);

and see what happens.

73
Bill
G4WJS.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to