Project

General

Profile

Actions

Bug #6272

closed

[Keep] keepstored index response should have an EOF marker to enable the client to detect an incomplete response.

Added by Tom Clegg almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
0.5

Description

The response size is not known when the headers are written, so (without an EOF marker) it is impossible for the client to detect the difference between "response was truncated at a newline character" and "complete response was received".

Implementation:
  • keepstore writes ".\n" at the end of the index response.
  • data manager throws an error (more or less equivalent to "keep node unreachable"?) if it doesn't see the EOF marker.

Subtasks 1 (0 open1 closed)

Task #6296: Review 6272-index-eofResolvedPeter Amstutz06/11/2015Actions
Actions

Also available in: Atom PDF