MeshModelGenerationHandler 요청 본문 크기 제한 및 검증
MeshModelGenerationHandler로 보내는 요청이전에는 핸들러가 요청 본문을 크기 제한 없이 읽어 서비스 거부 및 메모리 부족 위험이 있었습니다. 이제 4MB를 초과하는 본문은 HTTP 413으로 거부합니다. 또한 컴포넌트를 생성하기 전에 본문 읽기 실패, 빈 본문, 공백만 있는 본문, null 본문 또는 빈 데이터 슬라이스에 대해 HTTP 400을 반환합니다.
원문 보기
- [Server] Bound request body size and guard against DoS in MeshModelGenerationHandler @Supersaiyan101 (#23864)github.com/meshery/meshery/releases/tag/v1.0.82