Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305167 Details for
Bug 408017
net-analyzer/chaosreader-0.94-r1.ebuild: some fixes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
chaosreader-0.94-chunkcheck.patch
chaosreader-0.94-chunkcheck.patch (text/plain), 1.02 KB, created by
rainbow
on 2012-03-13 11:36:09 UTC
(
hide
)
Description:
chaosreader-0.94-chunkcheck.patch
Filename:
MIME Type:
Creator:
rainbow
Created:
2012-03-13 11:36:09 UTC
Size:
1.02 KB
patch
obsolete
>--- chaosreader 2011-11-10 19:17:50.000000000 +0100 >+++ chaosreader-0.94 2012-03-09 18:15:21.096105305 +0100 >@@ -5350,6 +5353,24 @@ > next if length($http_data) < 8; > $partnum++; > $parttext = sprintf("%02d",$partnum); >+ >+ ## from http://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491 >+ ### Chunk Check >+ if ( $http_header =~ /Transfer-Encoding: chunked/ ) { >+ my $new_http_data=""; >+ my $chunksize=-1; >+ my $pos=0; >+ until ($chunksize==0) { >+ my $eolpos=index($http_data,"\r\n",$pos); >+ $chunksize=hex(substr($http_data,$pos,$eolpos - $pos)); >+ $pos=($eolpos+2); >+ if ($chunksize > 0) { >+ $new_http_data.=substr($http_data,$pos,$chunksize); >+ } >+ $pos+=($chunksize+2); >+ } >+ $http_data=$new_http_data; >+ } > > ### Part - Checks > $http_type = &File_Type($http_data);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 408017
:
305165
| 305167 |
305169
|
305171
|
305173
|
305257