Skip to content

Commit

Permalink
Prefer bit fields in ngx_weserv_upstream_ctx_t
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Mar 15, 2024
1 parent f68c3b8 commit e08f93e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nginx/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ struct ngx_weserv_upstream_ctx_t : ngx_weserv_base_ctx_t {
ngx_http_chunked_t chunked;

/**
* Redirect flags.
* Redirect bit fields.
*/
ngx_uint_t redirecting;
ngx_uint_t saw_temp_redirect;
unsigned redirecting : 1;
unsigned saw_temp_redirect : 1;

/**
* Parsed HTTP redirection URI.
Expand Down

0 comments on commit e08f93e

Please sign in to comment.