Skip to content

Instantly share code, notes, and snippets.

@pjc0247
Last active June 29, 2016 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjc0247/ded51fa0cee2acdda28dc7d563af4118 to your computer and use it in GitHub Desktop.
Save pjc0247/ded51fa0cee2acdda28dc7d563af4118 to your computer and use it in GitHub Desktop.

Core

  • 스트리밍 HTTP 요청 파싱
    • LINQ 남발하는 파서 정리
    • C++/CLI로 파서 재작성
  • 간단한 리스폰스 보내기
  • gzip 응답
  • chunked 응답
  • keep alive
    • timeout (server-side)
  • 미들웨어 인터페이스 제작
  • WebSocket
    • Handshaking
      • 버전 체크
      • 서브프로토콜
    • 유연한 프로토콜 업그레이드
    • 프레임 파싱
      • Payload7
      • Payload16
      • Payload64
    • 프레임 조립
      • Payload7
      • Payload16
      • Payload64
    • fin 0/1 (분할된 패킷)
    • 연결 관리
      • 먼저 보내기
      • 먼저 끊기
    • 핑퐁
    • 에코 서버
  • 예외 처리
    • 파싱 에러 (400)
    • 서버 익셉션 (500)
    • 잘못된 버전 (505)
    • 마스크 없는 웹소켓 패킷

Adaptor

  • Adaptor 연결고리 제작
  • 애플리케이션과의 연결고리 제작
  • CSX Adaptor 제작
  • Static Adaptor 제작 (단순 파일 서버)
  • OWIN Adaptor (Nancy)

Application

  • 간단하게 프로그래밍 가능한 어플리케이션 레이어 구성
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment