forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: all big enough ui proxy requests fail with error proxying with p…
…artial data (kubeflow#4266) * fix: all big enough ui proxy requests fail with error proxying with partial data * Fix naming
- Loading branch information
1 parent
17452f0
commit 24c1c44
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// The hack solution I found for solving: | ||
// Responses fail randomly half way in a partial state, with the last sentence | ||
// being: "Error occurred while trying to proxy request ..." | ||
// Reference: https://github.com/chimurai/http-proxy-middleware/issues/171#issuecomment-439020716 | ||
export const HACK_FIX_HPM_PARTIAL_RESPONSE_HEADERS = { | ||
Connection: 'keep-alive', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters