httpserver on serverbootstrap (2)
authorDave Watson <davejwatson@fb.com>
Tue, 24 Mar 2015 16:40:29 +0000 (09:40 -0700)
committerNoam Lerner <noamler@fb.com>
Wed, 25 Mar 2015 22:36:07 +0000 (15:36 -0700)
commit71b9182494ea9813ad4945915b673c5b04c3d8ee
treefb9ad6272129807cb0af223ffa1ac46cbf88e776
parent87a4b661d610545a18f8d743c5d7b5df1c6bcfcd
httpserver on serverbootstrap (2)

Summary:
Original diff D1800100, reverted in D1895181.  Issue seems to have been caused by a copy constructor issue.

Fixes: Remove copy constructor, move contructor only. Separate stop() and join(), since join() can happen only after all stop()s have completed when reusing the same IOThreadPoolExecutors.
Test Plan: build and unit tests of relevant product

Reviewed By: praveenr@fb.com

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

FB internal diff: D1901718

Tasks: 6431975

Signature: t1:1901718:1426885577:46b63bfe117df207be3d273b953c100249c1a7da

Blame Revision: D1895181
folly/io/async/AsyncUDPServerSocket.h
folly/wangle/bootstrap/ServerBootstrap.h