comparison src/http/ngx_http_spdy.c @ 6185:a420cb1c170b

Core: renamed ngx_proxy_protocol_parse to ngx_proxy_protocol_read. The new name is consistent with the ngx_proxy_protocol_write function.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 16 Jun 2015 13:45:19 +0300
parents c81d79a7befd
children
comparison
equal deleted inserted replaced
6184:fa663739e115 6185:a420cb1c170b
864 ngx_log_t *log; 864 ngx_log_t *log;
865 865
866 log = sc->connection->log; 866 log = sc->connection->log;
867 log->action = "reading PROXY protocol"; 867 log->action = "reading PROXY protocol";
868 868
869 pos = ngx_proxy_protocol_parse(sc->connection, pos, end); 869 pos = ngx_proxy_protocol_read(sc->connection, pos, end);
870 870
871 log->action = "processing SPDY"; 871 log->action = "processing SPDY";
872 872
873 if (pos == NULL) { 873 if (pos == NULL) {
874 return ngx_http_spdy_state_protocol_error(sc); 874 return ngx_http_spdy_state_protocol_error(sc);