Mercurial > hg > nginx-quic
view src/os/unix/ngx_linux.h @ 8206:ad7ca043edf5 quic
QUIC: microoptimization in varint parsing.
Removed a useless mask from the value being shifted, since it is 1-byte wide.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 13 Nov 2020 13:24:45 +0000 |
parents | adba26ff70b5 |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_LINUX_H_INCLUDED_ #define _NGX_LINUX_H_INCLUDED_ ngx_chain_t *ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); #endif /* _NGX_LINUX_H_INCLUDED_ */