httpserver on serverbootstrap
authorDave Watson <davejwatson@fb.com>
Thu, 5 Mar 2015 18:25:54 +0000 (10:25 -0800)
committerNicholas Ormrod <njormrod@fb.com>
Thu, 5 Mar 2015 22:44:22 +0000 (14:44 -0800)
commit321807e1014b6b5cf8bbf68e21cb8fb996ab361b
tree2817fdcbba3a7f9c8deee1e08aef28ab5feeb342
parentb252ef026c86c25043ba64dd498654b95d3c402f
httpserver on serverbootstrap

Summary:
Cleans up the httpserver startup code nicely.  The only major change to ServerBootstrap was a check if bind failed to throw an exception.

(depends on D1732895)

Test Plan:
fbconfig -r folly/wangle/bootstrap proxygen/httpserver; fbmake runtests

fbconfig -r dfsrouter; fbmake runtests

Reviewed By: hans@fb.com

Subscribers: yfeldblum, cgheorghe, trunkagent, doug, fugalh, bmatheny, folly-diffs@, jsedgwick

FB internal diff: D1800100

Signature: t1:1800100:1424733970:67a61a22d2affadea16d2fd725003915326077b2
folly/wangle/acceptor/Acceptor.h
folly/wangle/bootstrap/ServerBootstrap.h
folly/wangle/channel/ChannelPipeline.h
folly/wangle/concurrent/IOThreadPoolExecutor.h
folly/wangle/concurrent/ThreadPoolExecutor.h