Fix HTTP connectors not exiting on stream end.
This commit is contained in:
parent
c4d0bd9691
commit
41d24ceee1
2 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,7 @@ namespace Connector_HTTP{
|
||||||
FlashBuf.append(tag.data, tag.len);
|
FlashBuf.append(tag.data, tag.len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!ss.connected()){break;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
conn.close();
|
conn.close();
|
||||||
|
|
|
@ -118,6 +118,7 @@ namespace Connector_HTTP{
|
||||||
conn.Send(std::string(tag.data, tag.len));//write the tag contents
|
conn.Send(std::string(tag.data, tag.len));//write the tag contents
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!ss.connected()){break;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
conn.close();
|
conn.close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue