yml수정#44
Conversation
Summary of ChangesHello @hongjm0912, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 Spring Boot 애플리케이션의 멀티파트 요청에 대한 파일 크기 제한을 제거하는 것을 목표로 합니다. 이는 서버의 기본 또는 이전에 구성된 제한에 구애받지 않고 모든 크기의 파일을 업로드할 수 있도록 합니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
| max-file-size: -1 | ||
| max-request-size: -1 |
There was a problem hiding this comment.
max-file-size와 max-request-size를 -1 (무제한)으로 설정하면 서비스 거부(DoS) 공격에 취약해질 수 있습니다. 악의적인 사용자가 매우 큰 파일을 업로드하여 서버의 디스크 공간, 메모리 등의 리소스를 고갈시킬 수 있습니다.
애플리케이션의 요구사항에 맞는 적절한 파일 크기 제한을 설정하는 것이 좋습니다. 예를 들어, 10MB로 제한하려면 다음과 같이 설정할 수 있습니다.
spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB max-file-size: 10MB
max-request-size: 10MB
개요
작업한 내용을 1~3문장으로 짧게 정리합니다.
본문
작업한 내용을 자세히 설명합니다.
피드백 - optional
변경 - optional
사용 방법 - optional
기타 - optional