Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Public sync #4

Merged
merged 59 commits into from
Jan 9, 2024
Merged

Public sync #4

merged 59 commits into from
Jan 9, 2024

Conversation

jayanth-tatina-groww
Copy link

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]>
…_links

fix broken links in documentation
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]>
…ry_strings

add backend level query strings filtering
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]>
…s_config

Name explicitly the client certificate and private key
In my [luraproject#694](luraproject#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]>
…ng_h2c_config

Fix for parsing use_h2c config
…n_parser_to_config

fix missing h2c flag from parser to config
@jayanth-tatina-groww jayanth-tatina-groww merged commit 809eab8 into master Jan 9, 2024
1 check failed
@jayanth-tatina-groww jayanth-tatina-groww deleted the public_sync branch January 9, 2024 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants