| Index: net/socket/ssl_test_util.h
|
| diff --git a/net/socket/ssl_test_util.h b/net/socket/ssl_test_util.h
|
| index fb060daac0342b91e02e99d1fe1a170e73964c8b..881a83d5c6cf469d3be55e85a979577a851d9731 100644
|
| --- a/net/socket/ssl_test_util.h
|
| +++ b/net/socket/ssl_test_util.h
|
| @@ -41,6 +41,9 @@ class TestServerLauncher {
|
| // in a separate process. Takes effect only if called before Start.
|
| void set_forking(bool forking) { forking_ = forking; }
|
|
|
| + // Tells the server to enable/disable anonymous FTP user.
|
| + void set_ftp_enable_anonymous(bool enable) { ftp_enable_anonymous_ = enable; }
|
| +
|
| // Start src/net/tools/testserver/testserver.py and
|
| // ask it to serve the given protocol.
|
| // If protocol is HTTP, and cert_path is not empty, serves HTTPS.
|
| @@ -113,6 +116,9 @@ class TestServerLauncher {
|
| // True if the server should handle each request in a separate process.
|
| bool forking_;
|
|
|
| + // True if the server should allow anonymous FTP login.
|
| + bool ftp_enable_anonymous_;
|
| +
|
| // Number of tries and timeout for each try used for WaitToStart.
|
| int connection_attempts_;
|
| int connection_timeout_;
|
|
|