aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/parameters/parameters.c')
-rw-r--r--src/parameters/parameters.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parameters/parameters.c b/src/parameters/parameters.c
index 83602cb..18f88c2 100644
--- a/src/parameters/parameters.c
+++ b/src/parameters/parameters.c
@@ -53,6 +53,7 @@ static void set_default_to_all_fields
struct JH_parameters param [const restrict static 1]
)
{
+ param->request_pipelining = 0;
param->print_chat = 0;
param->print_additional_info = 0;
param->socket_name = (const char *) NULL;
@@ -178,6 +179,14 @@ static int set_options
}
else if
(
+ JH_STRING_EQUALS("-l", argv[i])
+ || JH_STRING_EQUALS("--request-pipelining", argv[i])
+ )
+ {
+ param->request_pipelining = 1;
+ }
+ else if
+ (
JH_STRING_EQUALS("-c", argv[i])
|| JH_STRING_EQUALS("--print-chat", argv[i])
)