Skip to content

Commit

Permalink
Issue skupperproject#1498: Initial framework for HTTP/1.x observer (s…
Browse files Browse the repository at this point in the history
…kupperproject#1501)

This patch just checkpoints the start of the decoder implementation.
Does not resolve Issue skupperproject#1498.
  • Loading branch information
kgiusti authored May 23, 2024
1 parent 15eb303 commit dd6e44b
Show file tree
Hide file tree
Showing 6 changed files with 1,232 additions and 50 deletions.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ set(qpid_dispatch_SOURCES
adaptors/amqp/server_config.c
observers/protocol_observer.c
observers/tcp_observer.c
observers/http1_observer.c
observers/http1/http1_observer.c
observers/http1/http1_decoder.c
observers/http2_observer.c
alloc.c
alloc_pool.c
Expand Down
4 changes: 3 additions & 1 deletion src/buffer_field_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ static inline size_t qd_buffer_field_extend(qd_buffer_field_t *bfield, size_t am
/* qd_buffer_field_ncopy
*
* Copy up to n octets from bfield to dest, advance bfield by the number of
* octets copied
* octets copied.
*
* NOTE: dest will not be null terminated! If you are trying to extract a C string use qd_buffer_field_strdup!
*
* @return total of octets copied - may be < n if len(bfield) < n
*/
Expand Down
Loading

0 comments on commit dd6e44b

Please sign in to comment.