caddy/modules/caddyhttp/reverseproxy
Matthew Holt 613d544a47 reverseproxy: Accept EOF when buffering
Before this change, a read of size (let's say) < 10, into a buffer of size 10, will return EOF because we're using CopyN to limit to the size of the buffer. That resulted in the body being read from later, which should only happen if it couldn't fit in the buffer.

With this change, the body is properly NOT set when it can all fit in the buffer.
2024-04-22 13:12:10 -06:00
..
fastcgi caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
forwardauth caddyfile: Stricter parsing, error for brace on new line (#5505) 2023-04-20 18:43:51 +00:00
addresses_test.go reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
addresses.go ci: Use gofumpt to format code (#5707) 2023-08-07 19:40:31 +00:00
admin.go fix struct names (#6151) 2024-03-06 13:53:03 +00:00
ascii_test.go filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
caddyfile.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
command.go cmd: reverseproxy: log: use caddy logger (#6042) 2024-01-23 10:52:02 -07:00
copyresponse.go reverseproxy: Fix double headers in response handlers (#4847) 2022-06-22 15:10:14 -04:00
healthchecks.go reverseproxy: configurable active health_passes and health_fails (#6154) 2024-03-20 11:13:35 -06:00
hosts.go reverseproxy: configurable active health_passes and health_fails (#6154) 2024-03-20 11:13:35 -06:00
httptransport_test.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
httptransport.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
metrics.go reverseproxy: Fix reinitialize upstream healthy metrics (#5498) 2023-04-25 09:59:26 -06:00
reverseproxy.go reverseproxy: Accept EOF when buffering 2024-04-22 13:12:10 -06:00
selectionpolicies_test.go modules: fix some typo in conments (#6206) 2024-03-30 02:45:42 +00:00
selectionpolicies.go reverseproxy: Use xxhash instead of fnv32 for LB (#6203) 2024-03-29 10:56:18 -06:00
streaming_test.go reverseproxy: Add more debug logs (#5793) 2023-10-11 13:36:20 -06:00
streaming.go reverseproxy: Wait for both ends of websocket to close (#6175) 2024-04-15 11:37:37 -06:00
upstreams.go reverseproxy: SRV dynamic upstream failover (#5832) 2024-03-05 12:08:31 -07:00