Skip to content

Request forwarding with large files #350

Answered by RobertoPrevato
thomafred asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @thomafred
I prepared a working example, and published it here: https://github.com/Neoteroi/BlackSheep-Examples/tree/main/proxy

The BlackSheep server in my example handles files of any size properly (lazily, in chunks) - it is the proxy part.
Please take a look at how I implemented it, and the notes I left there.

The example is not 100% complete, as it should handle better some cases, but it describes what you asked in this discussion.

Replies: 8 comments 18 replies

Comment options

You must be logged in to vote
1 reply
@thomafred
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RobertoPrevato
Comment options

You must be logged in to vote
4 replies
@RobertoPrevato
Comment options

@thomafred
Comment options

@RobertoPrevato
Comment options

@RobertoPrevato
Comment options

Comment options

You must be logged in to vote
3 replies
@thomafred
Comment options

@thomafred
Comment options

@RobertoPrevato
Comment options

Comment options

You must be logged in to vote
10 replies
@thomafred
Comment options

@thomafred
Comment options

@thomafred
Comment options

@RobertoPrevato
Comment options

@RobertoPrevato
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants