Skip to content

Commit 809a24d

Browse files
authored
Merge pull request #30 from FayisRahman/master
stage 14 added note for serializing
2 parents b91ab8d + 0ed16b4 commit 809a24d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/roadmap/phase-2/stage-14.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,12 @@ xps_buffer_t *xps_http_serialize_headers(vec_void_t *headers) {
737737
}
738738
```
739739

740+
:::tip NOTE
741+
742+
We could have copied the request from the original buffer instead of serializing the de-serialized struct. But we are serializing the de-serialized structure so that when we send a header from client to upstream we have full control (are able to do our own modification) of the request that get passed.
743+
744+
:::
745+
740746
Now we would be completing the `xps_http_req` module.
741747

742748
## `xps_http_req` Module - Continue

0 commit comments

Comments
 (0)