• Kenton Varda's avatar
    Fix http-test.c++ to avoid dubious assumptions about gather-writes. · 8f9717d2
    Kenton Varda authored
    Most (all?) implementations of `write(ArrayPtr<const ArrayPtr<const byte>>)`, if the outer array contains only one inner array, do not use the outer array again after the initial call returns (as opposed to the promise resolving). But, this is not a safe assumption and http-test.c++ should not be relying on it.
    
    (I found this when I tried forcing all writes to complete asynchronously to check if it resulted in any bugs. This is all I found.)
    8f9717d2
Name
Last commit
Last update
..
gtest.h Loading commit data...
gzip-test.c++ Loading commit data...
gzip.c++ Loading commit data...
gzip.h Loading commit data...
http-socketpair-test.c++ Loading commit data...
http-test.c++ Loading commit data...
http.c++ Loading commit data...
http.h Loading commit data...
make-test-certs.sh Loading commit data...
readiness-io-test.c++ Loading commit data...
readiness-io.c++ Loading commit data...
readiness-io.h Loading commit data...
tls-test.c++ Loading commit data...
tls.c++ Loading commit data...
tls.h Loading commit data...
url-test.c++ Loading commit data...
url.c++ Loading commit data...
url.h Loading commit data...