DescriptionThis CL corrects a bug in which the OnHandshakeComplete callback for an ssl session was never
called if that session had an empty session id (i.e. the session wasn't added to the cache).
This CL sets the OpenSSL info_callback such that CheckIfSessionAdded will be run whenever
an OpenSSL session has finished its handshake. Previously, CheckIfSessionAdded was called in
NewSessionCallbackStatic. NewSessionCallbackStatic is only called when a session is
added to the cache. Thus, leading connections with sessions that were not added to the cache would
force their pending jobs to wait indefinitely instead of letting the jobs proceed at the completion
of the leading job's connection.
R=mmenke@chromium.org,rsleevi@chromium.org,wtc@chromium.org, davidben@chromium.org
BUG=398967
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288024
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Removed session to callback map from SSLSessionCallback, added unittest #
Total comments: 6
Patch Set 3 : Added SessionIsGood method to replace completion count when checking if a session is finished. #
Total comments: 10
Patch Set 4 : Renamed server command line flag and fixed other cl comments #
Total comments: 6
Patch Set 5 : Fixed typos & updated flag description #
Total comments: 12
Patch Set 6 : Fixed comment #Patch Set 7 : Changed the names of several confusingly named methods. #
Total comments: 17
Messages
Total messages: 22 (0 generated)
|