summaryrefslogtreecommitdiff
path: root/readme.md
blob: 02d0b68236010ededa034badca1d1a907c4d6623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 1.���

http.so��sappƽ̨����������

# 2.ҵ��㿪��ָ��

HTTPҵ�����demo�μ�project http_service��https://git.mesalab.cn/MESA_Platform/http_service

# 3. ������

G_HTTP_VERSION_4_20191112֮���http.so����http_parsr.so���ÿ���Դ�./src/lib/�л�ȡ��
����http_parsrԴ�룬make library���ɶ�̬�⡣

# 4.�����ļ�˵��

http_main.conf

=================

``` 
[FUNCTION]
switch_no_biz=1

#0 means close stat
stat_cycle=0
#stat output screen 0: screen 1: file
stat_screen_print=0
stat_file=./log/http/http_stat.log

#ungzip
ungzip_switch=1

#support proxy
proxy_switch=1

#single-way traffic need http session num, 0 means no this function
singleway_maxseq=2

#0: field callback mode(default)     1:batch callback mode
callback_mode=0

#batch field maxnum when http_all or http_other
batch_field_maxnum=32

#check HEAD when s2c one-way
s2c_head_check_switch=1   # ���s2c����������£�Ӧ����Ϣ�Ƿ���HEAD��Ӧ������ǣ�ͷ���е�content-length��ʵ����Ӧ���С��һ�¡�

[LOG]
#FATAL:wrong info
#INFO: lostlen; special proc ;proxy info
#DEBUG: pending and close info; all url; 
log_level=30
log_path=./log/http/runtime
```