skupperproject / skupper-router

An application-layer router for Skupper networks
https://skupper.io
Apache License 2.0
14 stars 18 forks source link

Enhancement: re-organize the source tree to isolate decoder implemenations #1506

Closed kgiusti closed 1 month ago

kgiusti commented 1 month ago

Split the decoder modules from the observer implementation. Proposed source directory layout:

src/decoders/http1/  # Decoder for HTTP/1.x streams
src/decoders/http2/  # Decoder for HTTP/2.0 streams

Layout for the http1 decoder:

src/decoders/http1/http_decoder.h  # public API, used by observer
src/decoders/http1/http_decoder.c  # implementation