Skip to content

Commit

Permalink
make it possible to customize XForwarded headers
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed Jan 28, 2024
1 parent 7aa1e55 commit 23ac313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/klite/XForwardedHttpExchange.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package klite

class XForwardedHttpExchange(original: OriginalHttpExchange, config: RouterConfig, sessionStore: SessionStore?, requestId: String):
open class XForwardedHttpExchange(original: OriginalHttpExchange, config: RouterConfig, sessionStore: SessionStore?, requestId: String):
HttpExchange(original, config, sessionStore, requestId) {
companion object {
private val forwardedIPIndexFromEnd = Config.optional("XFORWARDED_IP_FROM_END", "1").toInt()
Expand Down

0 comments on commit 23ac313

Please sign in to comment.