4 Commits

Author SHA1 Message Date
Dan McNulty
8399fbae7f Revert "Fix content reader for partial input"
This reverts commit 77209caf044d58c7d87770b377027a65fe696466.
2023-07-05 20:12:05 +01:00
Puneetha Ramachandra
77209caf04 Fix content reader for partial input
When there is partial message in reader, popping out the
characters lead to parse errors on the subsequent attempt
to parse. To avoid this, the last matched characters'
index is stored during parsing and reset on error.
2020-12-01 18:13:31 +00:00
Ben Clayton
c9187480d1 Fix short reads in ContentReader::buffer()
The actual length of data read by `dap::Reader::read()` was not being correctly inspected.

Fixed, added test.

Bug identified by @kuafuwang.

Fixes #27
2020-05-27 18:40:48 +01:00
Ben Clayton
2dfd15462f Initial drop of cppdap 2019-11-08 21:58:50 +00:00