Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jayanth-tatina-groww
Copy link
Mannequin

@jayanth-tatina-groww jayanth-tatina-groww mannequin commented Jan 9, 2024

No description provided.

dhontecillas and others added 30 commits July 10, 2023 17:21
Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Do not replace the default gin value if there's no remote_ip_headers …
…le to cancel from a client plugin.

Signed-off-by: Daniel Ortiz <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
pass the global ctx to the handler and client plugins
Signed-off-by: kpacha <[email protected]>
Allow multiple unsafe requests on the same endpoint
Signed-off-by: David Hontecillas <[email protected]>
kpacha and others added 28 commits September 29, 2023 22:40
…(also for backend headers)

Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: kpacha <[email protected]>
…other partes (fixed)

Signed-off-by: David Hontecillas <[email protected]>
Signed-off-by: Daniel Ortiz <[email protected]>
Allow to configure the listen address of the service
init.

If we initialize h2c using gin router it will use h2c handler
to wrap handler with all routes registered on gin router.
The problem is that it is possible to construct router factory
with RunServer function which will wrap h2c handler with additional
handler. Any logic in this handler will not be able to understand
http2 cleartext requests.

We have this example in krakend-ce repository where CORS support
is added through RunServer function. Then we have CORS handler ->
h2c handler -> Gin router.

Simplest fix is to move h2c support to server initialization
and add h2c handler as the outermost layer.

Signed-off-by: Antonije Ivanovic <[email protected]>
Signed-off-by: Antonije Ivanovic <[email protected]>
Signed-off-by: Antonije Ivanovic <[email protected]>
Signed-off-by: Antonije Ivanovic <[email protected]>
Signed-off-by: Antonije Ivanovic <[email protected]>
Signed-off-by: David Hontecillas <[email protected]>
Name explicitly the client certificate and private key
In my [#694](luraproject/lura#694) I fixed
issued with h2c support and CORS. There was small bug which slipped
through code review. New config field does not use correct struct tag.

Changed `json` to `mapstructure`.

Signed-off-by: Antonije Ivanovic <[email protected]>
…_config

fix missing h2c flag from parser to config
@jayanth-tatina-groww jayanth-tatina-groww mannequin merged commit 809eab8 into master Jan 9, 2024
@jayanth-tatina-groww jayanth-tatina-groww mannequin deleted the public_sync branch January 9, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants