Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.dbuffer: Fix bugs, remove multi-char support (more complex than first ↵ | Matthew Wild | 2021-06-29 | 1 | -3/+3 |
| | | | | | | | | | thought) Character sequences could be split across chunk boundaries. Would require a bunch of code to make that work reliably. Only apply front_consumed on first chunk, and adjust buffer_pos accordingly. | ||||
* | util.dbuffer: Add read_until() method | Matthew Wild | 2021-06-29 | 1 | -0/+14 |
| | |||||
* | util.dbuffer: Add __name to metatable | Matthew Wild | 2020-10-30 | 1 | -1/+1 |
| | |||||
* | util.dbuffer: Optimize :sub() and :byte() | Matthew Wild | 2020-10-28 | 1 | -4/+26 |
| | |||||
* | util.dbuffer: Expose length as :len() method, like strings | Kim Alvefur | 2020-10-12 | 1 | -0/+1 |
| | | | | Ref #1598 | ||||
* | util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks ↵ | Matthew Wild | 2020-08-24 | 1 | -0/+176 |
Zash for test case) This also appears to fix some bugs with chunk-encoded streams in net.http.parser. |