Be more efficient with buffers
Take note of, and use, the MaxBufferSize that the server tells us during negotiation rather than a fixed value. If the server doesn't say, use 1k as the default as before. Submission from Colin Granville. Version 2.50. Tagged as 'LanManFS-2_50'
Showing with 28 additions and 21 deletions