summaryrefslogtreecommitdiff
path: root/lib/rob
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-07-23 03:24:39 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-07-23 03:24:39 +0200
commitab4b7c2573b35062f211c2548ff20031f998cc8e (patch)
tree015e6f435c34af43b80a7c8e3a8224465fdfd063 /lib/rob
parent497daed116714a8c3f91162fe02ca81ad33bb6fa (diff)
downloadplan9front-ab4b7c2573b35062f211c2548ff20031f998cc8e.tar.xz
ip/httpfile: fix flushes, fix concurrent reads, set error string
Tflush handling was wrong, we cannot respond to the old request if we have not actually removed the req from the in progress block queue. when reads are issued concurrently, we have to set b->len before the block is inserted into the inprogress list. otherwise findblock() is unable to find it and no requests can be queued on the block. this caused the same offset to be downloaded multiple times. set the errstr in getrange() so in case of an error, we dont get some random previous error string.
Diffstat (limited to 'lib/rob')
0 files changed, 0 insertions, 0 deletions