Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class EchoHandler : public HandlerAdapter<std::string> {
};
```

Notice that we override other methods — readException and readEOF. There are few other methods that can be overriden. If you need to handle a particular event, just override the corresponding virtual method.
Notice that we override other methods — readException and readEOF. There are few other methods that can be overridden. If you need to handle a particular event, just override the corresponding virtual method.

Now onto the client’s pipeline factory. It is identical the server’s pipeline factory apart from _EventBaseHandler_ — which handles writing data from an event loop thread.

Expand Down
2 changes: 1 addition & 1 deletion wangle/acceptor/FizzConfigUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FizzConfigUtil {
/*
* Adds certs to the cert manager from context configs.
* If strictSSL is specified will throw on any failed cert load.
* Returns true if atleast one cert was successfully loaded
* Returns true if at least one cert was successfully loaded
*/
static bool addCertsToManager(
const std::vector<SSLContextConfig>& configs,
Expand Down
2 changes: 1 addition & 1 deletion wangle/acceptor/test/ConnectionManagerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ TEST_F(ConnectionManagerTest, testDropEstablishedVerifyOrder) {

// Initially connection will be added in decreasing order highest to lowest,
// it will be N, N - 1, N - 2, ..., 1, 0, thats because we loop from (0, N)
// and push items at the begining of the loop. During drop connections we
// and push items at the beginning of the loop. During drop connections we
// start from last item which will be lowest and we push them back to
// identifiers vector, meaning everything will be sorted in increasing order
ASSERT_TRUE(identifiers.size() >= 2);
Expand Down
2 changes: 1 addition & 1 deletion wangle/ssl/TLSInMemoryTicketProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TLSInMemoryTicketProcessor {
virtual ~TLSInMemoryTicketProcessor();
TLSTicketKeySeeds initInMemoryTicketSeeds();

/* Add a callback fucntion to be fired periodically. */
/* Add a callback function to be fired periodically. */

private:
void initScheduler();
Expand Down