enable ssl false start with Next Protocol Negotiation (NPN) extension
authorShijin Kong <shikong@fb.com>
Thu, 29 Jan 2015 18:54:53 +0000 (10:54 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:14:20 +0000 (13:14 -0800)
commit297902cc56497f15901c322bf7f5dfc9b6cffd17
tree78be9b98849954582fb22c8a16cb2e198675931c
parentd6415c69d589b71dc148564f465d4f101ff0711f
enable ssl false start with Next Protocol Negotiation (NPN) extension

Summary:
This speeds up TLS handshake and might be a factor of liger perf regression.
The enabling is guarded by an #ifdef. The condition itself is defined in an
openssl patch.

Test Plan: folly unit tests pass. Tried on devices as well and from tcpdump data was sent before the new ticket was received, essentially speeded up the handshake process.

Reviewed By: subodh@fb.com

Subscribers: trunkagent, kmdent, seanc, benyluo, ssl-diffs@, ranjeeth, folly-diffs@

FB internal diff: D1806856

Tasks: 5284979

Signature: t1:1806856:1422494521:0a048ea9001da13b5d698b5a764d1e66dcbedc99
folly/io/async/SSLContext.cpp
folly/io/async/SSLContext.h