spring-cloud/spring-cloud-gateway

Add logging when max frame size is exceeded

Open

#1,048 建立於 2019年5月8日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Java (3,204 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (4,284 star)
PR 合併指標
 (平均合併 1天 21小時) (30 天內合併 18 個 PR)

描述

When gateway is proxying websocket connections, if a message exceeds the max frame size, the websocket connection is dropped.

(This is related to #163)

However, there's no logging that indicates this has happened, even with TRACE level logging enabled in gateway.

It'd be very helpful if there was a warning message logged within the gateway that indicates this has happened. (Specifically, that the message exceeded the maxFrameSize, so the messages was dropped, and the websocket connection was terminated).

貢獻者指南