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

全部博文(129)

文章存档

2015年(3)

2014年(20)

2013年(65)

2012年(41)

发布时间:2013-05-16 16:38:20

1)【Receive from 192.168.1.1 : 54054】:-- begin: uh_path_lookup: bufferlen = 0, docroot = /www, url = /index.html File:uhttpd-utils.c, Line:549【Receive from 192.168.1.1 : 48498】:uh_path_lookup: i = 15, path_info = /www/index.html File:uhttpd-utils.c, Line:560【Receive from 192.........【阅读全文】

阅读(16756) | 评论(0) | 转发(0)

发布时间:2013-02-28 14:16:03

//紧凑格式和非紧凑格式{"name":"Jack (\"Bee\") Nimble","id1":1,"id2":2,"IDs":[116, 943, 234, 38793],"format":{"type":"rect","width":1920,"height":1080,"interlace":false,"frame rate":24}}{"name":"Jack (\"Bee\") Nimble","id1":1,"id2":2,"IDs":[116, 943, 234, 38793],"format":{"type":"rect.........【阅读全文】

阅读(2215) | 评论(0) | 转发(0)

发布时间:2013-01-05 14:08:52

http以post方式上传一个文件,构造其请求头和消息报文  假设接受文件的网页程序位于 http://192.168.24.56/logsys/home/uploadIspeedLog!doDefault.html.假设我们要发送一个图片文件,文件名为“kn.jpg”,  首先客户端链接 192.168.24.56 后, 应该发送如下http 请求:  POST/logsys/home/uploadIspeedLog!doDefault.html HTTP/1.1   Accept: text/plain, */*   Accept-Language:......【阅读全文】

阅读(4429) | 评论(0) | 转发(0)

发布时间: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.1Host: 192.168.1.1User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0Accept: tex......【阅读全文】

阅读(2590) | 评论(0) | 转发(0)

发布时间:2012-12-19 12:18:52

点击(此处)折叠或打开DEBUGP("uh_http_header_parse: buflen = %d, headers = %s\n", buflen, headers);for( i = (int)(headers - buffer); i < buflen; i++ ){ /* found eol and have name + value, push out header tuple */ if( hdrname && hdrdata && (buffer[i] == '\r' || buffer[i] == '\n') ) { buffer......【阅读全文】

阅读(1199) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册