src/core/ngx_proxy_protocol.h - nginx-1.7.10

Macros defined

Source code


  1. /*
  2. * Copyright (C) Roman Arutyunyan
  3. * Copyright (C) Nginx, Inc.
  4. */


  5. #ifndef _NGX_PROXY_PROTOCOL_H_INCLUDED_
  6. #define _NGX_PROXY_PROTOCOL_H_INCLUDED_


  7. #include <ngx_config.h>
  8. #include <ngx_core.h>


  9. #define NGX_PROXY_PROTOCOL_MAX_HEADER  107


  10. u_char *ngx_proxy_protocol_parse(ngx_connection_t *c, u_char *buf,
  11.     u_char *last);


  12. #endif /* _NGX_PROXY_PROTOCOL_H_INCLUDED_ */