Logo
Explore Help
Sign In
hummypkg/webif
5
3
Fork 4
You've already forked webif
Code Issues Pull Requests Releases 1 Activity
webif/var/mongoose/lib/chunked

21 lines
371 B
Plaintext
Raw Normal View History

create chunked module and add iajax. Update pkg to handled chunked responses git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@273 2a923420-c742-0410-a762-8d5b09965624
2011-07-14 22:22:54 +00:00
proc chunk {chk} {
puts -nonewline [format "%x\r\n" [string length $chk]]
puts -nonewline "$chk\r\n"
flush stdout
}
more attempts at chunked opkg git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@274 2a923420-c742-0410-a762-8d5b09965624
2011-07-15 23:20:57 +00:00
proc chunk_pad {{len 256}} {
incr len
chunk [string range [format "%${len}d" 0] 1 end-1]
}
proc start_chunked {{type "text/html"}} {
0.12.0 git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1398 2a923420-c742-0410-a762-8d5b09965624
2013-02-09 22:46:15 +00:00
httpheader $type 0 "Transfer-Encoding: chunked\r\n"
more attempts at chunked opkg git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@274 2a923420-c742-0410-a762-8d5b09965624
2011-07-15 23:20:57 +00:00
}
proc end_chunked {} {
puts -nonewline "0\r\n\r\n\r\n"
}
create chunked module and add iajax. Update pkg to handled chunked responses git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@273 2a923420-c742-0410-a762-8d5b09965624
2011-07-14 22:22:54 +00:00
Reference in New Issue Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API