Proxy crops body content in response #18
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/twins#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I have strange issue by running twins as reverse-proxy for few websites as in config:
I've tried to pass
size
attribute and play with line separators, but no success.it also crops images always on different file size, sometimes they loading successfully but very rare.
Content usually cropping at ~80% the size is different on each request but estimated same
Just disabled twins, those addresses in example linked to Yggdrasil network, to reproduce here is the Clearnet address:
gemini://betahowto.duckdns.org
I don't think that instance contain invalid headers, maybe something wrong with body, or just server..
By using proxying to localhost no success also, even IPv4
No ideas, maybe the bug?
p.s. using this bin version:
go get code.rocketnine.space/tslocum/twins
Thanks. Using
nc
to fetch the page doesn't seem to reproduce the issue. twins usesio.Copy
which should copy until EOF when the server closes the connection. Quoting the spec:It sounds like a chunking issue of some kind, on twins end or the server's end. I will need to look into this more closely to be sure.
Hm, just installed
gmid
and it works, maybe something with go libThoughts it was IPv6 issue but nope - it also crops on localhost