dgreatwood

Results 8 issues of dgreatwood

Basic SSL client, using openssl Avoids changing the existing core polling loop of Pistache, instead doing its own selects and retries for blocking write. User should call Pistache::Http::Connection::setHostChainPemFile(), with a...

Added simple extra method to retry synchronously client-side writes that would otherwise have blocked. Note: A more normal technique would be to do a retry on write coming available in...

For the case where there are multiple passes of this write loop. Fixes #115

At least one cast (and possible others) will cause "increases required alignment of target type [-Werror=cast-alig]" when compiling on ARM/RaspberryPi. I saw the error in line 672: header *new_header =...

There is a fragment of code in transport.cc: ``` // pop_front kills buffer - so we cannot continue loop or use buffer // after this point wq.pop_front(); wq.push_front(WriteEntry(std::move(deferred), bufferHolder, flags));...

I had some code where the input string "in" was not null-terminated for: size_t shoco_compress(const char \* in, size_t len, char \* out, size_t bufsize); Specifically in := Building.txt/237/245/0 len...

gcc produces this error, during the "coverage" phase: ``` geninfo: ERROR: (unused) 'exclude' pattern '/github/home/.cache/*' is unused. Excluding file '/usr/include/c++/13/bits/shared_ptr.h' (use "geninfo --ignore-errors unused ..." to bypass this error) ```...

Prompted by @tyler92's suggested PR#1228 "fix: data race on client/server shutdown": Looking at reactor.cc HandlerList, it does not attempt any multithread protection for its underlying std::array. In this experimental branch,...

bug
fix in progress
security
experimental