You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating IndieAuth's OAuth extensions, specifically the profile URL stuff, I determined that the current libcups limit of 255 bytes for header field values affects the Link: HTTP header (HTTP_FIELD_LINK), and that it needs the same multiple header support as some of the other fields.
Consider implementing a full shadow array of char *'s so that small values use the legacy char arrays and longer values use the allocated ones.
Also support coalescing of header values into comma-delimited ones, per the HTTP spec.
The text was updated successfully, but these errors were encountered:
…AX_VALUE
bytes (Issue #5216)
cups/http-private.h:
- Move all char * shadow variables to new fields array, rename old fields array
to _fields (binary compatibility).
cups/http.c:
- Add new http_add_field that can handle appending values and allocating or
clearing strings as needed.
- Update httpSetField to use http_add_field.
- Update _httpUpdate to use http_add_field instead of httpSetField.
cups/request.c:
- Fix checks for header fields.
cups/tls-*.c:
- Fix checks for Host header field.
While investigating IndieAuth's OAuth extensions, specifically the profile URL stuff, I determined that the current libcups limit of 255 bytes for header field values affects the Link: HTTP header (
HTTP_FIELD_LINK
), and that it needs the same multiple header support as some of the other fields.Consider implementing a full shadow array of
char *
's so that small values use the legacychar
arrays and longer values use the allocated ones.Also support coalescing of header values into comma-delimited ones, per the HTTP spec.
The text was updated successfully, but these errors were encountered: