projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c28e9
)
Deal with excess bytes in HTTP response for keepalive YAZ-830
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 13 Mar 2015 10:55:35 +0000
(11:55 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 13 Mar 2015 10:55:35 +0000
(11:55 +0100)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
bea92df
..
b4fbd91
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-1289,6
+1289,7
@@
int tcpip_put(COMSTACK h, char *buf, int size)
{
state->towrite = size;
state->written = 0;
+ state->altlen = 0; /* reset input buf in case of excess bytes YAZ-830 */
}
else if (state->towrite != size)
{