DescriptionAdd '--host' option to testserver.py and expose it via a new TestServer constructor.
By default the value 127.0.0.1 is used (this is also the default if no option is passed to the testserver.py script). For HTTPS cert mismatch tests, the value localhost is used. This causes the server to listen on localhost/127.0.0.1 but causes the client to expect a cert matching localhost (this corresponds to the previous behaviour).
BUG=114369
TEST=net_unittests still pass
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123040
Patch Set 1 #
Total comments: 2
Patch Set 2 : Combine with testserver.py CL. #Patch Set 3 : Integrate the definition of kLocalhost to facilitate follow-up CLs. #
Total comments: 2
Messages
Total messages: 16 (0 generated)
|