File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ static const struct lwan_config default_config = {
65
65
.allow_post_temp_file = false,
66
66
.max_put_data_size = 10 * DEFAULT_BUFFER_SIZE ,
67
67
.allow_put_temp_file = false,
68
- .use_dynamic_buffer = false,
69
68
};
70
69
71
70
LWAN_HANDLER_ROUTE (brew_coffee , NULL /* do not autodetect this route */ )
@@ -633,9 +632,6 @@ static bool setup_from_config(struct lwan *lwan, const char *path)
633
632
} else if (streq (line -> key , "allow_cors" )) {
634
633
lwan -> config .allow_cors =
635
634
parse_bool (line -> value , default_config .allow_cors );
636
- } else if (streq (line -> key , "use_dynamic_buffer" )) {
637
- lwan -> config .use_dynamic_buffer =
638
- parse_bool (line -> value , default_config .use_dynamic_buffer );
639
635
} else if (streq (line -> key , "expires" )) {
640
636
lwan -> config .expires =
641
637
parse_time_period (line -> value , default_config .expires );
Original file line number Diff line number Diff line change @@ -530,12 +530,11 @@ struct lwan_config {
530
530
unsigned int expires ;
531
531
unsigned int n_threads ;
532
532
533
- bool quiet ;
534
- bool proxy_protocol ;
535
- bool allow_cors ;
536
- bool allow_post_temp_file ;
537
- bool allow_put_temp_file ;
538
- bool use_dynamic_buffer ;
533
+ unsigned int quiet : 1 ;
534
+ unsigned int proxy_protocol : 1 ;
535
+ unsigned int allow_cors : 1 ;
536
+ unsigned int allow_post_temp_file : 1 ;
537
+ unsigned int allow_put_temp_file : 1 ;
539
538
};
540
539
541
540
struct lwan {
You can’t perform that action at this time.
0 commit comments