thrift

Summary:

Test Plan: none

Reviewed By: andrewcox@fb.com

Subscribers: ruibalp, alandau, bmatheny, fsilva

FB internal diff: D1415521

Tasks: 4421492
gflag for thrift numa, default OFF

Summary: Add gflag for thrift numa, default off until we can figure out how to get preferred to work and continue allocating on other nodes if we are unbalanced

Test Plan: added log, check that gflag worked

Reviewed By: rkroll@fb.com

Subscribers: doug, alandau, bmatheny

FB internal diff: D1418758

Tasks: 4638264
Make java TSerializer thread safe

Summary:
MQTT may have been bitten by this, and it may be the cause of corruption we are
seeing in some serializations. The API of TSerializer seems to encourage
creating only one instance and reusing it, but it isn't thread safe. If you need
this, you're probably better off creating a new instance per serialization or
per-thread, but at least this may help prevent corrupted data.

Test Plan: arc unit

Reviewed By: yanyanw@fb.com

Subscribers: doug, alandau, bmatheny

FB internal diff: D1418497
Add boost_thread, as thrift/lib/cpp2 uses boost::barrier

Test Plan: OSS build

Reviewed By: meyering@fb.com

Subscribers: alandau, bmatheny

FB internal diff: D1420185
Fix missing include

Summary:
We were getting unknown type errors for some fields defined in PausableTimer.h compiling on Android without this.
Probably due to our dependency hacking along the way exposed a missing
include.

Test Plan: compiles on Android with this include

Reviewed By: davejwatson@fb.com

Subscribers: doug, ruibalp, alandau, bmatheny

FB internal diff: D1421067
Update php/hack generation so TSimpleJSONProtocol works

Test Plan: Regenerated thrift files in www, confirmed nothing exploded

Reviewed By: alandau@fb.com

Subscribers: alandau

FB internal diff: D1417542
fix oss build

Summary:
A couple broken things after D1412990

1) PYTHONPATH needed for setup.py install
2) clean-local complains if we delete the whole gen-cpp2 directory, since it contains some .deps files (this is different from clean target for some reason)

Test Plan: built on ubuntu

Reviewed By: alandau@fb.com

Subscribers: doug, ruibalp, alandau, bmatheny

FB internal diff: D1422833
Add future option for cpp2

Summary:
Add future option for thrift cpp2, and some minor changes to fix
the build failure.

Test Plan: built cpp/ py/ d/ and nothing broke

Reviewed By: andrewcox@fb.com

Subscribers: fugalh, andrewcox, alandau

FB internal diff: D1415437
Forwarding THeaders to HttpHeaders

Summary:
Doing this so we can get headers in PHP. I'm a C++ n00b, so
lmk if I'm doing something clowny.

Test Plan: Tested with D1422430, confirmed headers were sent

Reviewed By: andrewcox@fb.com

Subscribers: alandau, bmatheny

FB internal diff: D1423655

Tasks: 4654411
Add jenkins autotools build results to phabricator

Summary:

Test Plan: arc diff on this diff should show the jenkins build results.

Reviewed By: alandau@fb.com

Subscribers: ruibalp, pavlo, doug, alandau

FB internal diff: D1416929
Get client extensions and compression methods for fingerprinting

Summary:
Store TLS extensions and compression methods sent by the client in the
TLS Hello and send them over to the tailer.

Facebook:
We are anyways parsing the message using a callback, why not
get more metadata to help in fingerprinting clients better.

Test Plan:
Ran proxygen on devserver with appropriate configuration.
Sample output: https://phabricator.fb.com/D1375596#5

Reviewed By: cgheorghe@fb.com, dcsommer@fb.com

Subscribers: alandau, bmatheny

FB internal diff: D1375596

Tasks: 4489147