Opened 12 years ago

Last modified 11 years ago

#1 accepted task

프로토타입 개발 — at Version 14

Reported by: cheese Owned by: cheese
Priority: major Milestone: 프로토타입 개발
Version: 0.1dev Keywords:
Cc:

Description (last modified by cheese)

개요

  • 프로토타입 개발

상세

  • do it
  • 가져다 쓰시려면 main 코드 따라 쓰기 하면 됨
  • 변조 코드 예제는 나중에 추가하는 걸로~

Change History (14)

comment:1 by cheese, 12 years ago

Owner: changed from < default > to cheese
Status: newaccepted

comment:2 by cheese, 12 years ago

r4
r5
r6

  • 개발 버전 게시
Last edited 11 years ago by cheese (previous) (diff)

comment:3 by cheese, 12 years ago

r7

  • 스레딩 모듈 추가 브랜치

comment:4 by cheese, 12 years ago

r8
r9
r10
r11
r12
r13

  • mutex 클래스 trunk에 추가
  • thread 클래스 사용 안될 듯
Last edited 11 years ago by cheese (previous) (diff)

comment:5 by cheese, 12 years ago

r14

  • add timeout to socket connection and fix test label in makefile
Last edited 12 years ago by cheese (previous) (diff)

in reply to:  5 ; comment:6 by cheese, 12 years ago

In testing, crash bug for http://msdn.com was found.

Replying to cheese:

r14

  • add timeout to socket connection and fix test label in makefile

comment:7 by cheese, 12 years ago

r15

  • modify error code handling

r16

  • modify error message to detail
Last edited 12 years ago by cheese (previous) (diff)

comment:8 by cheese, 11 years ago

nvdark님의 강력한 의견으로 Trac에 한글로 쓰기로 하고 수정

r17

  • 불필요한 include 및 초기화 리스트 제거
  • HTTP Request의 URL 버퍼 크기 확장
    • URL 길이가 큰 경우 오버플로우로 인한 crash 문제 수정
  • main 코드의 오류 출력 루틴 버퍼 확장
    • HTTP 메시지 출력시 오버플로우로 인한 crash 문제 수정
    • 예외처리는 별도 개발 예정이므로 더 이상의 보완 작업은 필요없음
Last edited 11 years ago by cheese (previous) (diff)

in reply to:  6 comment:9 by cheese, 11 years ago

This issue is fixed at r17.

Replying to cheese:

In testing, crash bug for http://msdn.com was found.

Replying to cheese:

r14

  • add timeout to socket connection and fix test label in makefile

comment:10 by cheese, 11 years ago

r18

  • CRXProxy 및 CRXException 프로토타입 작업
    • CRXProxy 작업하면서 _beginthreadCreateThread로 변경
    • 이것 때문인지 속도가 좀 많이 느려졌는데, 첫 개발 단계에서도 이런 현상있었으니 확인이 필요
  • windows project에서 유니코드 사용하지 않도록 변경

r19

  • 리눅스에서의 오류 수정 및 CRXProxy에서 하위 오류 메시지 병합하도록 수정

r20

  • 모듈화 후의 할당/해제를 위해 CRXProxy 인스턴스를 가져올 수 있는 인터페이스 추가

r21

  • main 에서 불필요한 코드 제거 및 오류 메시지 정리

r22

  • main 에서의 오류 메시지 정리
  • 스레드 종료 후 CRXProxy 인스턴스 해제 하는 부분 추가
Last edited 11 years ago by cheese (previous) (diff)

comment:11 by cheese, 11 years ago

r23

Last edited 11 years ago by cheese (previous) (diff)

in reply to:  11 comment:12 by cheese, 11 years ago

어차피 Thread Pool 개발 예정이므로 크게 신경쓰지 않아도 될듯 함

지금은 intercept 구현이 우선되어야 할 것으로 보임

Replying to cheese:

r23

comment:13 by cheese, 11 years ago

r24
r25

  • inline 함수 모두 제거
  • proxy 모듈에서 스레딩 코드 제거하고 Thread Pool을 main 에 추가
    • 퍼포먼스 대폭 향상됨
    • Thread Pool을 별도로 지원해야 하는 건가?
  • 소켓 timeout 설정 따로 할 수 있도록 변경
  • proxy 워크 플로우를 단계별로 세분화
    • receive-request, send-request, receive-response, send-response
  • response 클래스 세부 구현
    • Content-Length 및 chunked 인코딩
      chunked 인코딩의 경우 해당 모듈에서 chunked 인코딩 메커니즘대로 파싱하는 것이 아닌, content-body 저장을 위한 것이므로 chunked 인코딩 메커니즘대로 파싱하는 브라우저 같은 곳에선 코드 재사용이 불가함

r26
r27

  • request 및 response 메시지 reset 기능 추가
    • 전달 할 데이터가 수정된다면 reset 한 후 set 하여 전송해야 함
Last edited 11 years ago by cheese (previous) (diff)

comment:14 by cheese, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.