diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-11-18 15:45:16 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-11-18 15:45:16 +0000 |
commit | b5cadfb564a604c0ba1c49984ac796cfd8310731 (patch) | |
tree | 0ced05d7234cca69b0c7be6ee74023a711141b65 /apps/s_apps.h | |
parent | c4fc172240b867350967ee50734267c402450e19 (diff) |
add -naccept <n> option to s_server to automatically exit after <n> connections
Diffstat (limited to 'apps/s_apps.h')
-rw-r--r-- | apps/s_apps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h index d1ef18a4a2..ccf06a6905 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -148,7 +148,7 @@ typedef fd_mask fd_set; #define PORT_STR "4433" #define PROTOCOL "tcp" -int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context); +int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context, int naccept); #ifdef HEADER_X509_H int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx); #endif |