ErrLookup › valyala/fasthttp
valyala/fasthttp
Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http · Go · 74 source files
Analyzed at c96f600972 on 2026-08-31. 176 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| fasthttp: no args value for the given key | exception | warning | query-params, input-validation, fasthttp |
| brotli: excessive input | exception | error | brotli, compression, data-corruption |
| empty ip address string | validation | error | ip-parsing, input-validation, empty-input |
| empty integer | validation | error | integer-parsing, empty-input, input-validation |
| ip part cannot exceed 255 | validation | error | ip-parsing, input-validation, range-error |
| unexpected first char found: expecting 0-9 | validation | error | integer-parsing, input-validation, whitespace |
| unexpected trailing char found: expecting 0-9 | validation | error | integer-parsing, input-validation, trailing-characters |
| too long int | validation | error | integer-parsing, overflow, input-validation |
| negative input is invalid | validation | error | float-parsing, input-validation, negative-value |
| empty hex number | validation | error | chunked-encoding, http-protocol, malformed-input |
| too large hex number | validation | error | http, parsing, chunked-encoding, protocol-violation |
| fasthttp: missing location header for http redirect | exception | error | http, redirect, client |
| fasthttp: too many redirects detected when doing the request | exception | error | http, redirect, client, loop |
| fasthttp: cannot follow a body-preserving redirect for a req | exception | error | http, redirect, streaming, request-body |
| fasthttp: hostclient can't follow redirects to a different p | exception | error | http, redirect, tls, client |
| fasthttp: no free connections available to host | exception | error | network, connection-pool, client, concurrency |
| fasthttp: the server closed connection before returning the | exception | error | network, keep-alive, connection-closed, client |
| fasthttp: connection pool strategy is not implement | exception | error | configuration, connection-pool, client |
| fasthttp: tls handshake timed out | exception | error | tls, timeout, network, client |
| dialling unsuccessful: please report this bug | exception | error | dial, bug, client, programming-error |
| fasthttp: pipelined requests' queue has been overflowed. inc | exception | error | fasthttp, pipelining, backpressure, network |
| pipeline connection has been stopped | exception | error | fasthttp, pipelining, connection-closed, shutdown |
| fasthttp: no cookies found | exception | info | fasthttp, cookies, parsing |
| fasthttp: invalid cookie value | validation | warning | fasthttp, cookies, validation, parsing |
| proxy: unknown scheme: | exception | error | fasthttp, proxy, configuration, network |
| dont support the network: | exception | error | fasthttp, proxy, dialer, network |
| fasthttputil: inmemorylistener is already closed: use of clo | exception | info | fasthttputil, inmemory, listener, shutdown |
| fasthttputil: connection closed | exception | warning | fasthttputil, pipe, connection-closed, network |
| must implement seek | exception | error | fasthttp, filesystem, range-requests, seeker |
| must implement readat | exception | error | go, fasthttp, filesystem, readerat |
| directory index required | exception | info | go, fasthttp, filesystem, directory-listing |
| no 'create file' permissions | exception | warning | go, fasthttp, filesystem, permissions |
| seek is not implemented | exception | error | go, fasthttp, compression, io-seeker |
| fasthttp: contain forbidden trailer | exception | error | go, fasthttp, http, headers, trailer |
| fasthttp: error when reading response headers | exception | error | go, fasthttp, http, response-parsing |
| fasthttp: error when reading response trailer | exception | error | go, fasthttp, http, trailer, chunked |
| fasthttp: cannot find whitespace in the first line of respon | exception | error | network, http, fasthttp, response-parsing |
| fasthttp: unexpected char at the end of status code | exception | error | network, http, fasthttp, response-parsing |
| fasthttp: cannot find http request method | exception | error | http, fasthttp, request-validation |
| fasthttp: unsupported http request method | exception | error | http, fasthttp, request-validation |
| fasthttp: extra whitespace in request line | exception | error | http, fasthttp, request-parsing, security |
| fasthttp: requesturi cannot be empty | exception | error | http, fasthttp, request-validation |
| fasthttp: duplicate content-length header | exception | error | http, fasthttp, header-parsing, security |
| fasthttp: unsupported transfer-encoding | exception | error | http, fasthttp, header-parsing, transfer-encoding |
| fasthttp: non-numeric chars found | exception | error | http, fasthttp, header-parsing, validation |
| fasthttp: need more data: cannot find trailing lf | exception | warning | http, fasthttp, streaming, parsing |
| fasthttp: small read buffer. increase readbuffersize | exception | error | http, buffer-size, fasthttp, header-parsing |
| too many transfer-encoding headers | exception | error | http, header-parsing, request-smuggling, security |
| too many host headers | exception | error | http, header-parsing, host-header, security |
| invalid headers, headers cannot start with space or tab | validation | error | http, malformed-headers, fasthttp, parser |
| fasthttp: unsupported content-encoding | exception | error | http, compression, content-encoding, fasthttp |
| fasthttp: request content-type has bad boundary or is not mu | exception | error | http, multipart, content-type, fasthttp |
| form boundary cannot be empty | validation | error | http, multipart, boundary, fasthttp |
| fasthttp: non-get request received | exception | error | http, fasthttp, method-not-allowed, server-config |
| missing required host header in request | validation | error | http, host-header, request-serialization |
| non-zero body for non-post request | validation | error | http, request-body, request-reuse |
| fasthttp: body size exceeds the given limit | exception | error | http, body-limit, payload-size |
| cannot find crlf at the end of chunk | exception | error | http, chunked-encoding, protocol-violation |
| invalid character '\n' after chunk size | exception | error | http, chunked-encoding, request-smuggling, security |
| invalid ipv6 host | validation | error | ipv6, uri, host-header |
| invalid ipv6 zone | validation | error | ipv6, uri, zone-id |
| invalid ipv6 address | validation | error | ipv6, uri, address-validation |
| fasthttp: no available clients | exception | error | load-balancing, client-pool, configuration |
| prefork: exceeding the value of recoverthreshold | exception | error | prefork, process-management, crash-loop |
| prefork: windows only supports reuseport = true | exception | error | prefork, windows, configuration |
| prefork: commandproducer returned nil command | exception | error | prefork, commandproducer, exec |
| prefork: commandproducer must return a started command | exception | error | prefork, commandproducer, exec |
| cert or key has not provided | validation | error | tls, certificate, server |
| fasthttp: there is no uploaded file associated with the give | error_code | error | multipart, file-upload, http |
| fasthttp: too many connections per ip | error_code | warning | server, connection-limit, rate-limiting |
| fasthttp: cannot serve the connection because server.concurr | error_code | warning | server, concurrency, backpressure |
| cannot write timed out response | exception | error | timeout, request-context, http |
| cannot compress data due to high load | exception | warning | compression, high-load, stackless |
| fasthttp: dialing to the given tcp address timed out | error_code | error | network, timeout, dial, tcp |
| couldn't find dns entries for the given domain: try using du | exception | error | network, dns, tcp, ipv6 |
| only tcp, tcp4, or tcp6 is supported | validation | error | network, tcp, listener, validation |
| value is negative, cannot convert to uint32 | validation | error | network, ipv6, integer-overflow, validation |
| value exceeds uint32 max value | validation | error | network, ipv6, integer-overflow, validation |
| value is negative, cannot convert to uintptr | validation | error | network, tcp, syscall, validation |
| cannot parse ip string %q: %w | validation | error | go, parsing, ipv4, input-validation |
| invalid host %q: use a host client for multiple hosts | validation | error | go, fasthttp, http-client, url-validation |
| unsupported protocol %q. http and https are supported | validation | error | go, fasthttp, http-client, scheme |
| cannot determine tls server name from addr %q: %w | exception | error | go, tls, sni, fasthttp |
| too much data gunzipped: %d | validation | error | go, gzip, decompression, memory-limit |
| too much data inflated: %d | validation | error | go, deflate, decompression, memory-limit |
| cannot parse r=%q: %w | validation | error | go, regexp, expvar, query-param |
| proxy dial target address contains cr or lf: %q | validation | error | go, http-proxy, security, crlf-injection |
| could not connect to proxy addr: %s status code: %d | exception | error | network, proxy, http-connect, fasthttp |
| cannot open already opened file: %w | exception | error | filesystem, io, fasthttp, file-server |
| unsupported range units: %q: expecting %q | validation | warning | http, range-header, validation, fasthttp |
| missing byte range in %q | validation | warning | http, range-header, validation, fasthttp |
| missing the end position of byte range in %q | validation | warning | http, range-header, validation, fasthttp |
| byte range %q is invalid for empty content | validation | warning | http, range-header, empty-content, fasthttp |
| the start position of byte range cannot exceed %d. byte rang | validation | warning | http, range-header, resume-download, fasthttp |
| the start position of byte range cannot exceed the end posit | validation | warning | http, range-header, validation, fasthttp |
| cannot open file %q: %w | exception | error | filesystem, permissions, file-server, fasthttp |
| cannot access directory without index page: directory %q | exception | warning | config, file-server, directory-index, fasthttp |
| cannot obtain info for file %q: %w | exception | error | filesystem, fasthttp, file-metadata, stat |
| cannot determine absolute path for %q: %v | exception | error | filesystem, fasthttp, filepath, compression-cache |
| cannot create temporary file for %q: %w | exception | error | filesystem, fasthttp, compression, temp-file, permissions |
| error when compressing file %q to %q: %w | exception | error | filesystem, fasthttp, compression, io-error |
| cannot change modification time to %v for tmp file %q: %v | exception | warning | filesystem, fasthttp, compression, file-timestamps |
| cannot move compressed file from %q to %q: %w | exception | error | filesystem, fasthttp, compression, rename, cache |
| error when compressing file %q: %w | exception | error | fasthttp, compression, memory, in-memory-cache |
| cannot read header of the file %q: %w | exception | error | fasthttp, content-type, mime, file-reading |
| cannot open compressed file %q: %w | exception | error | fasthttp, filesystem, compression-cache, file-open |
| cannot obtain info for compressed file %q: %w | exception | error | fasthttp, filesystem, stat, compression-cache, race-condition |
| directory with unexpected suffix found: %q: suffix: %q | exception | error | filesystem, fasthttp, compression, static-files |
| cannot obtain info for original file %q: %w | exception | error | filesystem, fasthttp, compression |
| too big file: %d bytes | exception | error | filesystem, fasthttp, int-overflow, static-files |
| error when reading response headers: %w | exception | error | network, fasthttp, headers, buffer-size |
| error when reading response trailer: %w | exception | error | network, fasthttp, trailer, buffer-size |
| error when reading %s headers: %w: buffer size=%d | exception | error | network, fasthttp, headers, security |
| error when reading %s headers: %w: buffer size=%d, contents: | exception | error | http, header-parsing, fasthttp |
| error when reading request headers: %w (n=%d, reader buffere | exception | error | http, buffer-size, fasthttp |
| error when reading request headers: %w | exception | error | http, network, fasthttp |
| forbidden trailer key %q | validation | error | http, trailer, rfc7230, fasthttp |
| invalid trailer value %q | validation | error | http, trailer, header-validation, fasthttp |
| cannot find whitespace in the first line of response %q | validation | error | http, response-parsing, fasthttp |
| invalid response status code %q: response %q | validation | error | http, status-code, response-parsing, fasthttp |
| unsupported http version %q | validation | error | http, protocol-version, response-parsing, fasthttp |
| unsupported http version %q in %q | validation | error | http, protocol-version, response-parsing, fasthttp |
| unsupported transfer-encoding: %q | validation | error | http, fasthttp, transfer-encoding, protocol |
| cannot parse content-length: %w | exception | error | http, fasthttp, content-length, parsing |
| malformed mime header line: %q | exception | error | http, fasthttp, mime-header, malformed |
| malformed mime header: missing colon: %q | exception | error | http, fasthttp, mime-header, malformed |
| cannot gunzip request body: %w | exception | error | http, fasthttp, gzip, content-encoding |
| cannot open form file %q (%q): %w | exception | error | multipart, form-data, request-writing |
| error when copying form file %q (%q): %w | exception | error | multipart, io, file-read |
| cannot close form file %q (%q): %w | exception | error | multipart, resource-cleanup, io |
| error when closing multipart form writer: %w | exception | error | multipart, form-data, writer |
| form size must be greater than 0: given %d | validation | error | multipart, content-length, server |
| error when marshaling multipart form: %w | exception | error | multipart, request-marshaling |
| non-zero body for non-post request: body=%q | exception | error | http-method, request-body, validation |
| panic while writing body stream: %+v | panic | error | panic, body-stream, streaming |
| copied %d bytes from body stream instead of %d bytes | exception | error | content-length, body-stream, streaming |
| bufio read returned (%d, nil) | exception | error | fasthttp, io-reader-contract, body-read, bufio |
| cannot read '\r' char at the end of chunk size: %w | exception | error | fasthttp, chunked-encoding, http-protocol, truncated-body |
| cannot unread '\r' char at the end of chunk size: %w | exception | error | fasthttp, chunked-encoding, bufio, concurrency |
| invalid character %q after chunk size | exception | error | fasthttp, chunked-encoding, request-smuggling, http-protocol |
| cannot read %q char at the end of chunk size: %w | exception | error | fasthttp, chunked-encoding, connection-reset, truncated-body |
| unexpected char %q at the end of chunk size: expected %q | exception | error | fasthttp, chunked-encoding, request-smuggling, http-protocol |
| prefork: close inherited listener fd: %w | exception | warning | fasthttp, prefork, file-descriptor, unix |
| prefork: resolve %s/%s: %w | exception | error | fasthttp, prefork, tcp, address-resolution |
| prefork: listen tcp %s: %w | exception | error | go, network, prefork, listen-error |
| prefork: dup listener fd: %w | exception | error | go, prefork, file-descriptor |
| prefork: command producer: %w | error_code | error | go, prefork, command-producer |
| prefork: resolve executable: %w | error_code | error | go, prefork, executable-path |
| prefork: start child %q: %w | error_code | error | go, prefork, process-spawn |
| unexpected error when trying to remove unix socket file %q: | error_code | error | go, unix-socket, filesystem-permissions |
| cannot chmod %#o for %q: %w | error_code | error | go, unix-socket, chmod |
| cannot load tls key pair from cert file=%q and key file=%q: | error_code | error | go, tls, certificates |
| cannot load tls key pair from the provided cert data(%d) and | error_code | error | go, tls, embedded-certificates |
| cannot create listening socket: %w | error_code | error | go, network, syscall, socket |
| cannot make non-blocked listening socket: %w | error_code | error | network, sockets, syscall, nonblocking |
| cannot create listening unblocked socket: %w | error_code | critical | network, sockets, syscall, fd-limit |
| cannot create listening socket: %w | error_code | critical | network, sockets, zos, s390x, syscall |
| cannot mark listening socket close-on-exec: %w | error_code | error | network, sockets, zos, s390x, fcntl, cloexec |
| cannot mark listening socket nonblocking: %w | error_code | error | network, sockets, zos, s390x, nonblocking, fcntl |
| unexpected convert socket fd int to uintptr: %w | error_code | error | network, sockets, internal, fd |
| cannot enable so_reuseaddr: %w | error_code | error | network, sockets, setsockopt, reuseaddr |
| cannot disable nagle's algorithm: %w | error_code | error | network, tcp, nagle, setsockopt |
| cannot enable so_reuseport: %w | error_code | error | network, sockets, reuseport, setsockopt, kernel |
| cannot bind to %q: %w | error_code | critical | network, bind, port-conflict, permissions |
| cannot determine backlog to pass to listen(2): %w | error_code | error | network, linux, tcp, backlog |
| cannot listen on %q: %w | error_code | error | network, linux, tcp, listen-syscall |
| unexpected convert net interface index int to uint32: %w | error_code | error | network, ipv6, zone-id, integer-overflow |
| cannot enable tcp_defer_accept: %s | error_code | error | linux, tcp, defer-accept, sockopt |
| cannot enable tcp_fastopen(qlen=%d): %s | error_code | error | linux, tcp, tcp-fastopen, sockopt, sysctl |
| cannot parse somaxconn %q read from %s: %s | error_code | error | linux, sysctl, somaxconn, parsing, backlog |
| invalid scheme %q | validation | error | uri, parsing, scheme, validation |
| invalid port %q after host | validation | error | uri, parsing, port, ipv6, validation |
| invalid host %q | validation | error | uri, parsing, host, validation |
| invalid host %q with multiple port delimiters | validation | error | url-parsing, net-url, host-validation |
| too much data unzstd: %d | error_code | error | zstd, fasthttp, body-size-limit, decompression |
| invalid WriteHeader code %v | panic | error | fasthttp, net-http-adaptor, status-code, panic |