Request

+ root: string

+ fd: int

+ epfd: int

+ buf: buf[MAX_BUF]

+ pos: int // 当前位置

+ last: int // 一次报文的结尾

+ stat: int

+ request_start: void *

+ method_end


+ uri_start

+ uri_end


+ path_start

+ path_end


+ query_start

+ query_end


+ http_major

+ http_minor

+ reuqest_end


+ 一些ptr指向首部字段


+ timer

+move(dx:number,dy:number):void

+scale(dx:number,dy:number):void

Reponse

+ fd

+ keep_live

+ time

+ modified: bool

+ status:

+move(dx:number,dy:number):void

+scale(dx:number,dy:number):void

HttpParser

+move(dx:number,dy:number):void

+scale(dx:number,dy:number):void

ZAVER

ZAVER

2019-09-22 20:24:08 0 20
这里是评论

相关推荐