Issue #9: --last-as-blank accept timeout or 0

This commit is contained in:
Devaev Maxim
2019-09-17 09:50:14 +03:00
parent d24d48212f
commit 0827cb2b65
3 changed files with 42 additions and 11 deletions

View File

@@ -67,6 +67,7 @@ struct exposed_t {
long double expose_begin_time;
long double expose_cmp_time;
long double expose_end_time;
long double last_as_blank_time;
};
struct http_server_runtime_t {
@@ -96,7 +97,7 @@ struct http_server_t {
char *static_path;
char *blank_path;
bool last_as_blank;
int last_as_blank;
unsigned drop_same_frames;
bool slowdown;
unsigned fake_width;