httpserver on serverbootstrap (2)
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: affected product's unit tests

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

SergeyMakarenko/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,HankFaan/fbthrift,Orvid/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,sinjar666/fbthrift,LinusU/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,raphaelamorim/fbthrift,LinusU/fbthrift,facebook/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,chjp2046/fbthrift,sinjar666/fbthrift,fengshao0907/fbthrift,maxwell-demon/fbthrift,guker/fbthrift,kangkot/fbthrift,maxwell-demon/fbthrift,kangkot/fbthrift,soumith/fbthrift,guker/fbthrift,chjp2046/fbthrift,guker/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,raphaelamorim/fbthrift,project-zerus/fbthrift,SergeyMakarenko/fbthrift,sinjar666/fbthrift,chjp2046/fbthrift,project-zerus/fbthrift,sinjar666/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,guker/fbthrift,getyourguide/fbthrift,facebook/fbthrift,LinusU/fbthrift,SergeyMakarenko/fbthrift,getyourguide/fbthrift,sinjar666/fbthrift,SergeyMakarenko/fbthrift,HankFaan/fbthrift,raphaelamorim/fbthrift,soumith/fbthrift,fengshao0907/fbthrift,project-zerus/fbthrift,raphaelamorim/fbthrift,kangkot/fbthrift,HankFaan/fbthrift,guker/fbthrift,chjp2046/fbthrift,soumith/fbthrift,getyourguide/fbthrift,soumith/fbthrift,SergeyMakarenko/fbthrift,kangkot/fbthrift,guker/fbthrift,LinusU/fbthrift,soumith/fbthrift,guker/fbthrift,kangkot/fbthrift,raphaelamorim/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,getyourguide/fbthrift,LinusU/fbthrift,kangkot/fbthrift,maxwell-demon/fbthrift,fengshao0907/fbthrift,chjp2046/fbthrift,fengshao0907/fbthrift,fengshao0907/fbthrift,chjp2046/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,soumith/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,guker/fbthrift,SergeyMakarenko/fbthrift,kangkot/fbthrift,maxwell-demon/fbthrift,fengshao0907/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,SergeyMakarenko/fbthrift,raphaelamorim/fbthrift,Orvid/fbthrift,kangkot/fbthrift,getyourguide/fbthrift,soumith/fbthrift,getyourguide/fbthrift,facebook/fbthrift,SergeyMakarenko/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,facebook/fbthrift,LinusU/fbthrift,raphaelamorim/fbthrift,facebook/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,Orvid/fbthrift,soumith/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,facebook/fbthrift,Orvid/fbthrift,facebook/fbthrift,guker/fbthrift,kangkot/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,project-zerus/fbthrift,sinjar666/fbthrift,facebook/fbthrift,getyourguide/fbthrift,facebook/fbthrift,soumith/fbthrift,LinusU/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,Orvid/fbthrift,chjp2046/fbthrift,HankFaan/fbthrift,fengshao0907/fbthrift,maxwell-demon/fbthrift,getyourguide/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,fengshao0907/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,chjp2046/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,guker/fbthrift,raphaelamorim/fbthrift,HankFaan/fbthrift,HankFaan/fbthrift,sinjar666/fbthrift,sinjar666/fbthrift,guker/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,getyourguide/fbthrift,soumith/fbthrift,SergeyMakarenko/fbthrift,soumith/fbthrift,sinjar666/fbthrift,kangkot/fbthrift,fengshao0907/fbthrift,kangkot/fbthrift,sinjar666/fbthrift,HankFaan/fbthrift,raphaelamorim/fbthrift