Skip to content

fix: HTTP 요청에 Connection 헤더가 upgrade로 설정되는 문제 해결 #578

@whqtker

Description

@whqtker

어떤 버그인가요

문제가 되는 부분에 대해 설명해주세요

nginx.conf
nginx->서버로 가는 전송에서 upgrade 헤더가 붙음
nginx->클라이언트 는 keep-alive가 설정되긴 함
map을 통해 수정하자

재현 방법(선택)

버그를 재현할 수 있는 과정을 설명해주세요(필요하다면 사진을 첨부해주세요)

  1. 서버 접속
  2. sudo tcpdump -i lo -A -s 0 'port 8080'
  3. 요청 보내기
  4. 헤더 확인

참고할만한 자료(선택)

Metadata

Metadata

Assignees

Labels

버그Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions