Skip to content

wasm: Add API to get buffered body data. (#437)#177

Merged
istio-testing merged 1 commit intoistio:release-1.5from
PiotrSikora:wasm-buffered_body-1.5
Mar 4, 2020
Merged

wasm: Add API to get buffered body data. (#437)#177
istio-testing merged 1 commit intoistio:release-1.5from
PiotrSikora:wasm-buffered_body-1.5

Conversation

@PiotrSikora
Copy link
Copy Markdown

Now, if a callback previously returned StopIterationAndBuffer,
the various "getBuffer" methods will return the buffered data.
But if the callback previously returned anything else, then
the methods will only return the current chunk.

Signed-off-by: Gregory Brail gregbrail@google.com
Signed-off-by: Piotr Sikora piotrsikora@google.com

Now, if a callback previously returned StopIterationAndBuffer,
the various "getBuffer" methods will return the buffered data.
But if the callback previously returned anything else, then
the methods will only return the current chunk.

Signed-off-by: Gregory Brail <gregbrail@google.com>
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
@PiotrSikora PiotrSikora force-pushed the wasm-buffered_body-1.5 branch from 6c071fa to 45fdef3 Compare March 3, 2020 23:02
@PiotrSikora PiotrSikora marked this pull request as ready for review March 4, 2020 02:22
@PiotrSikora PiotrSikora requested a review from fpesce March 4, 2020 02:22
@istio-testing istio-testing merged commit 80d0be0 into istio:release-1.5 Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants