Skip to content

Added missing NGX_PARSE_LARGE_TIME #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ngx_http_uploadprogress_module.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
* Copyright (C) 2007 Brice Figureau
* shm_zone and rbtree code Copyright (c) 2002-2007 Igor Sysoev
Expand All @@ -10,6 +9,11 @@

#define TIMER_FREQUENCY 15 * 1000

/* NGX_PARSE_LARGE_TIME was removed in 1.1.15 */
#ifndef NGX_PARSE_LARGE_TIME
#define NGX_PARSE_LARGE_TIME -2
#endif /* NGX_PARSE_LARGE_TIME */

typedef enum {
uploadprogress_state_starting = 0,
uploadprogress_state_error = 1,
Expand Down