fix: AI Runtime 통신을 HTTP/1.1로 고정 - #93
Merged
Merged
Conversation
hywznn
marked this pull request as ready for review
August 6, 2026 04:14
EHWIYA
approved these changes
Aug 6, 2026
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
Java
HttpClient는 버전을 지정하지 않으면 HTTP/2를 우선 시도합니다. AI Runtime은 FastAPI/Uvicorn의 HTTP/1.1로 실행되므로, 로컬·프록시·배포 환경에서 프로토콜 협상 차이를 제거하기 위해 Server의 AI Runtime 호출을 HTTP/1.1로 명시합니다.Refs #92
무엇이 바뀌나요?
HttpClient에HttpClient.Version.HTTP_1_1을 지정했습니다.어떻게 검증했나요?
./gradlew test --tests 'com.fowoco.server.aiintegration.infrastructure.http.AiRuntimeHttpConfigurationTest' --tests 'com.fowoco.server.aiintegration.infrastructure.http.RemoteAiRuntimeClientWireMockTest'./gradlew --no-daemon clean test— BUILD SUCCESSFULHTTP_1_1인지 확인NEVER설정 유지 확인병합 전 확인