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).

贡献者指南