Move Acceptor to wangle
authorDave Watson <davejwatson@fb.com>
Thu, 23 Oct 2014 17:26:08 +0000 (10:26 -0700)
committerDave Watson <davejwatson@fb.com>
Wed, 19 Nov 2014 20:52:27 +0000 (12:52 -0800)
commitdd280141ac92814bed18aad661411a89c6b9ccda
tree130310c43fbc8cd6bd34378229e815f3cccd57df
parent81fa7fd7ac3de80e645dae5243987f05049627b5
Move Acceptor to wangle

Summary:
Initial pass at moving acceptor to wangle.  Involves moving most of the config stuff from proxygen/lib/services, and *all* of the ssl stuff from proxygen/lib/ssl.

Only minor changes:
* Acceptor can be overriden to use thrift socket types, so I don't have to change TTransportException everywhere just yet
* proxygen::Exception to std::runtime_exception in a few spots - looks like it is entirely bad config exceptions, so it should be okay
* Just used std::chrono directly instead of stuff in Time.h (which is just typedefs and simple helpers)

Test Plan:
used in D1539327

fbconfig -r proxygen/httpserver; fbmake runtests

Probably other projects are broken, will iterate to fix

None of the failling tests look related

Reviewed By: dcsommer@fb.com

Subscribers: oleksandr, netego-diffs@, hphp-diffs@, ps, trunkagent, doug, fugalh, alandau, bmatheny, njormrod, mshneer, folly-diffs@

FB internal diff: D1638358

Tasks: 5002353

Signature: t1:1638358:1414526683:87a405e3c24711078707c00b62a50b0e960bf126
32 files changed:
folly/Makefile.am
folly/experimental/wangle/acceptor/Acceptor.cpp [new file with mode: 0644]
folly/experimental/wangle/acceptor/Acceptor.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/ConnectionCounter.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/DomainNameMisc.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/LoadShedConfiguration.cpp [new file with mode: 0644]
folly/experimental/wangle/acceptor/LoadShedConfiguration.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/NetworkAddress.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/ServerSocketConfig.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/SocketOptions.cpp [new file with mode: 0644]
folly/experimental/wangle/acceptor/SocketOptions.h [new file with mode: 0644]
folly/experimental/wangle/acceptor/TransportInfo.cpp [new file with mode: 0644]
folly/experimental/wangle/acceptor/TransportInfo.h [new file with mode: 0644]
folly/experimental/wangle/ssl/ClientHelloExtStats.h [new file with mode: 0644]
folly/experimental/wangle/ssl/DHParam.h [new file with mode: 0644]
folly/experimental/wangle/ssl/PasswordInFile.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/PasswordInFile.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLCacheOptions.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLCacheProvider.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLContextConfig.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLContextManager.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLContextManager.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLSessionCacheManager.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLSessionCacheManager.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLStats.h [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLUtil.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/SSLUtil.h [new file with mode: 0644]
folly/experimental/wangle/ssl/TLSTicketKeyManager.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/TLSTicketKeyManager.h [new file with mode: 0644]
folly/experimental/wangle/ssl/TLSTicketKeySeeds.h [new file with mode: 0644]
folly/experimental/wangle/ssl/test/SSLCacheTest.cpp [new file with mode: 0644]
folly/experimental/wangle/ssl/test/SSLContextManagerTest.cpp [new file with mode: 0644]