Mercurial > hg > monetdb-java
changeset 705:ba226d5d3996
Fix file transfers
When the refactored BufferedMCLReader reaches the end of the segment
it keeps returning LineType.PROMPT until it is reset.
Usually this reset is done automatically by the BufferedMCLWriter.
However, in the file tranfer protocol there is a moment
where the server first acknowledges the end of the upload by sending
a segment containing PROMPT3, and then immediately another segment
containing the "&1 bla bla" status message.
Because the client doesn't send anything between these two, the
reader did not get reset.
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Fri, 09 Dec 2022 12:35:13 +0100 (2022-12-09) |
parents | 5d6c577e2f74 |
children | 21fd1eebbd0e |
files | src/main/java/org/monetdb/jdbc/MonetConnection.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff