http://bugzilla.meego.com/show_bug.cgi?id=572
Summary: syncevo-http-server: handle message resend while
message is still being processed
Classification: MeeGo Projects
Product: SyncEvolution
Version: unspecified
Platform: Netbook
OS/Version: IA
Status: ASSIGNED
Severity: enhancement
Priority: Undecided
Component: SyncEvolution
AssignedTo: syncevolution-bugs(a)meego.bugs
ReportedBy: patrick.ohly(a)intel.com
QAContact: jingke.zhang(a)intel.com
CC: syncevolution-bugs(a)meego.bugs,
syncevolution-default-bugs(a)meego.bugs
Estimated Hours: 0.0
If a client resends a message while the HTTP server and syncevo-dbus-server are
still working on the original message, then synchronization will fail:
- the reply to the original message cannot be delivered
- syncevo-dbus-server probably gets an error reported from syncevo-http-server
and aborts
Triggering this case is hard. It depends on sending such a complex message to
the server that processing it takes long enough to resend a message in the
meantime. Probably a unit test has to delay the server somehow.
The solution to this problem could go like this:
- when processing a message and returning the reply fails, cache the message in
syncevo-http-server (as already done) and do not report the failure (in
contrast to the current implementation)
- when receiving a message which is identical with the current one, cancel the
original request and switch to the new HTTP request, then deliver the reply
once available
--
Configure bugmail:
http://bugzilla.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.