summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-09-19 23:46:12 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-09-25 17:36:23 +0100
commit263541e24546ba0a75e26fef3c5442238d9fcac2 (patch)
treeb924cd55c2b4493dee320bde75b2daa54790f39a /src
parentee64ca584081b812d9254ec116e1a060483071ec (diff)
downloadunit-wasm-263541e24546ba0a75e26fef3c5442238d9fcac2.tar.gz
unit-wasm-263541e24546ba0a75e26fef3c5442238d9fcac2.tar.bz2
examples/rust: Amend upload-reflector for recent changes
The previous commit changed uwr_get_http_content_len() to return a u64 to allow for uploads larger than 4GiB, which now means this generates compiler errors about type mismatches, expected usize got u64. Cast the return value of uwr_get_http_content_len() to usize to match that of TOTAL_RESPONSE_SENT. (Making TOTAL_RESPONSE_SENT a u64 creates a larger trail of problems). Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions