Uh oh!
There was an error while loading. Please reload this page.
Commit 71bb026
http2: streamline OnStreamRead streamline memory accounting
* avoid consecutive decrement/increment session memory calls.
* only Resize the buffer when it is needed.
* flip `stream_buf_offset_` condition to the LIKELY case.
PR-URL: #30351
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 3840abe commit 71bb026
1 file changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
1865 | | - | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
1866 | 1870 | | |
1867 | 1871 | | |
1868 | 1872 | | |
| |||
1871 | 1875 | | |
1872 | 1876 | | |
1873 | 1877 | | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
1874 | 1884 | | |
1875 | 1885 | | |
1876 | 1886 | | |
1877 | 1887 | | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | 1888 | | |
1883 | 1889 | | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | 1890 | | |
1889 | 1891 | | |
1890 | 1892 | | |
| |||
0 commit comments