Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1278002
  • 博文数量: 129
  • 博客积分: 1449
  • 博客等级: 上尉
  • 技术积分: 3048
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-24 18:36
文章分类

全部博文(129)

文章存档

2015年(3)

2014年(20)

2013年(65)

2012年(41)

分类: LINUX

2012-12-31 11:22:30

#------ 5个元件接收头部OK,  可以看到 root . Content-Length: 1495
【Receive from 192.168.1.1 : 34118】:
uh_http_header_recv: uh_tcp_peek, buflen = 4095, rlen = 2019, POST /bsedit/test.cgi HTTP/1.1
Host: 192.168.1.1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
Content-Length: 1495
Pragma: no-cache
Cache-Control: no-cache

operatortype=savefile&filename=edit.cgx&content=t%20%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0D%0At%20%3Croot%3E%0D%0At%20%3Cproject%20width%3D%22802%22%20height%3D%22629%22%20background%3D%221%22%2F%3E%0D%0At%20%3Citems%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%2298.5%22%20y%3D%2236.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22257.5%22%20y%3D%2250.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22386.5%22%20y%3D%2234.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22109.5%22%20y%3D%22104.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22275.5%22%20y%3D%22130.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3C%2Fitems%3E%0D%0At%20%3C%2Froot%3E%0D%0A.
 File:uhttpd.c, Line:574

#---- 6个元件错误, 一次接收不完整, 需要多次接收!!!. 
【Receive from 192.168.1.1 : 51031】:
uh_http_header_recv: uh_tcp_peek, buflen = 4095, rlen = 2048, POST /bsedit/test.cgi HTTP/1.1
Host: 192.168.1.1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
Content-Length: 1734
Pragma: no-cache
Cache-Control: no-cache

operatortype=savefile&filename=edit.cgx&content=t%20%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0D%0At%20%3Croot%3E%0D%0At%20%3Cproject%20width%3D%22802%22%20height%3D%22629%22%20background%3D%221%22%2F%3E%0D%0At%20%3Citems%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22237.5%22%20y%3D%2225.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22278.5%22%20y%3D%2275.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22325.5%22%20y%3D%2253.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22353.5%22%20y%3D%2239.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22101.5%22%20y%3D%2259.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22u
 File:uhttpd.c, Line:574

【Receive from 192.168.1.1 : 34847】:
uh_http_header_recv: uh_tcp_peek, buflen = 2047, rlen = 210, ndefined%22%3E%0D%0At%20%3Cimage%20x%3D%22176.5%22%20y%3D%22126.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3C%2Fitems%3E%0D%0At%20%3C%2Froot%3E%0D%0A.
 File:uhttpd.c, Line:574

#--- #define UH_LIMIT_MSGHEAD 1024*6 //4096
【Receive from 192.168.1.1 : 59845】:
uh_http_header_recv: uh_tcp_peek, blen = 6143, rlen = 2048, POST /bsedit/test.cgi HTTP/1.1
Host: 192.168.1.1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
Content-Length: 3592
Pragma: no-cache
Cache-Control: no-cache

operatortype=savefile&filename=edit.cgx&content=t%20%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0D%0At%20%3Croot%3E%0D%0At%20%3Cproject%20width%3D%22802%22%20height%3D%22629%22%20background%3D%221%22%2F%3E%0D%0At%20%3Citems%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22208.5%22%20y%3D%22-23.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22221.5%22%20y%3D%22128.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22277.5%22%20y%3D%223.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22326.5%22%20y%3D%22127.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22346.5%22%20y%3D%2258.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%2
 File:uhttpd.c, Line:577

【Receive from 192.168.1.1 : 34124】:
uh_http_header_recv: uh_tcp_peek, blen = 4095, rlen = 2068, 2undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22486.5%22%20y%3D%2287.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22102.5%22%20y%3D%22212.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22172%22%20y%3D%22180.5%22%20width%3D%22150%22%20height%3D%22155%22%20href%3D%22therm%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22text%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Ctext%20%0D%0At%20textx%3D%22215%22%20texty%3D%22308%22%20text-anchor%3D%22left%22%20fontfamily%3D%22Arial%22%20%0D%0At%20fontsize%3D%2216%22%20fill%3D%22%23ff0000%22%20text%3D%22XXXXXX%22%20%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22238%22%20y%3D%22200%22%20width%3D%22352%22%20height%3D%22386%22%20href%3D%22camera%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22489%22%20y%3D%2288.5%22%20width%3D%22150%22%20height%3D%22155%22%20href%3D%22therm%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22text%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Ctext%20%0D%0At%20textx%3D%22532%22%20texty%3D%22216%22%20text-anchor%3D%22left%22%20fontfamily%3D%22Arial%22%20%0D%0At%20fontsize%3D%2216%22%20fill%3D%22%23ff0000%22%20text%3D%22XXXXXX%22%20%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%2291.5%22%20y%3D%2262.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3C%2Fitems%3E%0D%0At%20%3C%2Froot%3E%0D%0A.
 File:uhttpd.c, Line:577

【Receive from 192.168.1.1 : 52329】:
uh_http_header_recv End: bufferlen = 6144, blen = 2027, datalen = 4116
 File:uhttpd.c, Line:591

【Receive from 192.168.1.1 : 53989】:
POST: uri = operatortype=savefile&filename=edit.cgx&content=t%20%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0D%0At%20%3Croot%3E%0D%0At%20%3Cproject%20width%3D%22802%22%20height%3D%22629%22%20background%3D%221%22%2F%3E%0D%0At%20%3Citems%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22208.5%22%20y%3D%22-23.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22221.5%22%20y%3D%22128.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22277.5%22%20y%3D%223.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22326.5%22%20y%3D%22127.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22346.5%22%20y%3D%2258.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22486.5%22%20y%3D%2287.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22102.5%22%20y%3D%22212.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22172%22%20y%3D%22180.5%22%20width%3D%22150%22%20height%3D%22155%22%20href%3D%22therm%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22text%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Ctext%20%0D%0At%20textx%3D%22215%22%20texty%3D%22308%22%20text-anchor%3D%22left%22%20fontfamily%3D%22Arial%22%20%0D%0At%20fontsize%3D%2216%22%20fill%3D%22%23ff0000%22%20text%3D%22XXXXXX%22%20%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22238%22%20y%3D%22200%22%20width%3D%22352%22%20height%3D%22386%22%20href%3D%22camera%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%22489%22%20y%3D%2288.5%22%20width%3D%22150%22%20height%3D%22155%22%20href%3D%22therm%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22text%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Ctext%20%0D%0At%20textx%3D%22532%22%20texty%3D%22216%22%20text-anchor%3D%22left%22%20fontfamily%3D%22Arial%22%20%0D%0At%20fontsize%3D%2216%22%20fill%3D%22%23ff0000%22%20text%3D%22XXXXXX%22%20%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3Citem%20itype%3D%22image%22%20device%3D%22undefined%22%20describe%3D%22undefined%22%3E%0D%0At%20%3Cimage%20x%3D%2291.5%22%20y%3D%2262.5%22%20width%3D%2255%22%20height%3D%22139%22%20href%3D%22bin%22%2F%3E%0D%0At%20%3C%2Fitem%3E%0D%0At%20%3C%2Fitems%3E%0D%0At%20%3C%2Froot%3E%0D%0A
 File:uhttpd.c, Line:455

阅读(2062) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~