Page MenuHomekolab.org

Workaround for metadata request breaking other commands.
ClosedPublic

Authored by mollekopf on Apr 8 2020, 4:09 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rEIe5aed402c4ff: Workaround for metadata request breaking other commands.
Summary

Trojita sends this in a single packet:
y1 ID (\"name\" \"Test\")\r\ny2 ENABLE QRESYNC\r\ny3 LIST \"\" \"%\" RETURN (SUBSCRIBED))\r\n

After fixing the clientside in guam we now have the problem that the
replies for y1 and y2 get eaten by eimap waiting for the getmetadata
response, triggered by request y3.

A proper solution will require more invasive changes.
This seems to work with trojita for that specific sequence, for
everything else we'll have to see what we get in testing.

Diff Detail

Repository
rEI eimap
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mollekopf requested review of this revision.Apr 8 2020, 4:09 PM
mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Apr 8 2020, 4:15 PM

The serverside counterpart to D1144

This revision was not accepted when it landed; it landed in state Needs Review.Apr 15 2020, 9:20 AM
This revision was automatically updated to reflect the committed changes.