Skip to content

Commit

Permalink
fixup: header and style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rousskov committed Oct 29, 2023
1 parent 0aa4317 commit 43deb3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/http.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "http/StateFlags.h"
#include "sbuf/SBuf.h"

#include <optional>

class FwdState;
class HttpHeader;
class String;
Expand Down Expand Up @@ -116,7 +118,7 @@ class HttpStateData : public Client

size_t calcReadBufferCapacityLimit() const;
std::optional<size_t> canBufferMoreReplyBytes() const;
size_t maybeMakeSpaceAvailable(const size_t maxReadSize);
size_t maybeMakeSpaceAvailable(size_t maxReadSize);

// consuming request body
virtual void handleMoreRequestBodyAvailable();
Expand Down

0 comments on commit 43deb3b

Please sign in to comment.