Tags: zhweiwei/mcrouter
Tags
Add getTotalBufferedBytes() method fo AsyncTransport Summary: When BufferCallback::onEgressBuffered() is called, applications usually want to know how many bytes were buffered so that can take actions (such as avoiding that connection, failing fast, etc). This diff adds getTotalPendingBytes() to AsyncTransport to allow applications to easily query how many bytes were actually buffered. Reviewed By: spalamarchuk Differential Revision: D13252677 fbshipit-source-id: 8ec203f6764e00f52d471321afb549376397eb84
Fix possible move eval issue Summary: Some static analysis tools/linters complained about eval order and doing std::move. Also complained about shadowing the keepAlive var. Fix both. Reviewed By: andreazevedo Differential Revision: D8287675 fbshipit-source-id: ee20b7c2afe9bb79b835fb4b3e6ca09cc2b0042d
Improve TLS ticket key generation Summary: Improve the way AsyncMcServer generates TLS ticket keys. Reviewed By: glamtechie Differential Revision: D4565521 fbshipit-source-id: 7391c76d2af64bf583b38721c7a38f406f66a469
Template Proxy by RouterInfo Summary: Templating Proxy by RouterInfo. Everything that proxy depends on should be also templated. Things that depends on Proxy are still not templated/ready. Reviewed By: jmswen Differential Revision: D4230941 fbshipit-source-id: 9e95bfc2f05278263c191559da4857f5806b50d6
Refactor proxy stats Summary: Moving proxy stats to a separate class to better improve encapsulation and facilitate removing dependencies on Proxy. Reviewed By: jmswen Differential Revision: D4068381 fbshipit-source-id: dec2277168d964bb05fee2c0232086069d9b744e
PreviousNext