• Duncan Salerno's avatar
    http: Increase buffer sizes to cope with longer URIs · 8bd324e9
    Duncan Salerno authored
    Use the MAX_URL_SIZE define where applicable. Increase buffer
    sizes for all buffers that need to fit a long pathname - buffers
    that need to fit only the hostname (and other short strings, but
    not the pathname - such as "headers" in http_connect) are kept
    at 1024 bytes for now.
    
    Also increase the max line length in http_read_header, since it
    might need to contain a full url for Location: redirects.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    8bd324e9
http.c 24.2 KB