알파 제출버전 서버 런타임 완성#8
Open
uersnmae wants to merge 5 commits into
Open
Conversation
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.
요약
poll()통합, 시간 초과와502/504응답 처리를 정리했습니다.realpath,_exit,inet_ntoa계열 호출을 제거했고, 인자 없이 실행하면config/default.conf를 사용하는 기본 실행 경로를 추가했습니다.SIGINT,SIGTERM수신 시 signal handler는 shutdown flag만 세우고,EventLoop가 정상적으로 poll loop를 탈출하도록 graceful shutdown을 추가했습니다.검증
make fcleanmake%2e%2e경로 탈출 요청의403처리413처리GET/POST/청크 본문 처리502처리와 연결 유지504처리SIGINTgraceful shutdown 테스트 통과SIGINT전송 후EventLoop정상 탈출in use at exit: 0 bytesAll heap blocks were freedERROR SUMMARY: 0test_errortest_includetest_integrationtest_lexertest_parsertest_validatorsrcs,includes범위에서realpath,_exit,inet_ntoa,inet_ntop,accept4,pipe2,sendfile,errno가 검출되지 않음을 확인했습니다.