Matthieu Gautier
|
ff605873ed
|
Include missing algorithm header.
`min` and `max` functions are defined here.
|
2020-06-10 15:27:51 +02:00 |
|
Veloman Yunkan
|
05ef5d5f51
|
Assertion in ByteRange allows 0-sized content
The assertion in the ByteRange constructor was written under the assumption that the content must have non-zero size. Now it allows that corner case.
|
2020-06-02 21:53:47 +04:00 |
|
Veloman Yunkan
|
16bd79fa1b
|
Final clean-up of byte_range.{h,cpp}
|
2020-05-26 12:50:08 +04:00 |
|
Veloman Yunkan
|
c2ebdefe8d
|
Handling of unsatisfiable ranges
|
2020-05-26 02:11:26 +04:00 |
|
Veloman Yunkan
|
7301bf89bb
|
Some refactoring of byte-range parsing
|
2020-05-26 01:50:29 +04:00 |
|
Veloman Yunkan
|
ff23b28e7c
|
Removed unnecessary qualifier
|
2020-05-26 01:41:37 +04:00 |
|
Veloman Yunkan
|
931e95f391
|
Invalid byte ranges result in 416 responses
|
2020-05-26 01:40:07 +04:00 |
|
Veloman Yunkan
|
801ad18a89
|
ByteRange::resolve()
|
2020-05-25 17:27:35 +04:00 |
|
Veloman Yunkan
|
67a347c0c4
|
Moved byte-range parsing to byte_range.cpp
|
2020-05-25 17:21:10 +04:00 |
|
Veloman Yunkan
|
693905eb68
|
Default constructed ByteRange is a full range
|
2020-05-25 17:17:56 +04:00 |
|
Veloman Yunkan
|
f3e79c6b4c
|
Introduced src/server/byte_range.cpp
|
2020-05-25 16:43:44 +04:00 |
|