Closed dpwspoon closed 7 years ago
Trying using write flush
after the write nukleus:data.ext ...
and also make sure you are using the latest release.
This is working in 0.7.2 (note, appears to have regressed in 0.7)
The write flush corresponds to data on the other side that needs to be read. The following fails
read nukleus:data.ext ${http:header(":scheme", "http")}
read closed
in response to
write nukleus:data.ext ${http:header(":scheme", "http")}
write flush
write close
as the read closed has unread empty data.
But this passes
read nukleus:data.ext ${http:header(":scheme", "http")}
read /.*/ # this consumes the read event
read closed
The following is not written unless there is a write with actual data afterwards
Meaning, the following always fails/can't be scripted