OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ce298
)
chunked encodingで1行よけいに改行を読んでいるのを直す
author
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Sat, 14 May 2016 12:48:00 +0000
(21:48 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Sat, 14 May 2016 12:48:00 +0000
(21:48 +0900)
KancolleSniffer/HttpProxy.cs
patch
|
blob
|
history
diff --git
a/KancolleSniffer/HttpProxy.cs
b/KancolleSniffer/HttpProxy.cs
index
4857a5a
..
a1f0f57
100644
(file)
--- a/
KancolleSniffer/HttpProxy.cs
+++ b/
KancolleSniffer/HttpProxy.cs
@@
-530,10
+530,7
@@
namespace KancolleSniffer
if (!int.TryParse(size, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out val))
\r
throw new HttpProxyAbort("Can't parse chunk size: " + size);
\r
if (val == 0)
\r
- {
\r
- ReadLine();
\r
break;
\r
- }
\r
var chunk = new byte[val];
\r
Read(chunk, 0, chunk.Length);
\r
buf.Write(chunk, 0, chunk.Length);
\r