credentials / irma_kerckhoffs_pilot

1 stars 0 forks source link

Card proxy: terminate connection when user leaves page #18

Closed rijswijk closed 10 years ago

rijswijk commented 11 years ago

Terminate the proxy connection when the user leaves the page that is being proxied to.

rijswijk commented 11 years ago

Can you please provide an estimate of the amount of time needed to implement this and an estimate when you expect this to be ready?

wouterl commented 11 years ago

Including testing 2 - 4 hours.

Note to self: these disconnect events are handled in Relay{Read,Write}#event() function. Should send disconnect messages there on the other channels.

wouterl commented 10 years ago

Unfortunately, this wasn't as easy as it seemed. Chanted the proxy so the two channels (to and fro) are linked. Now timeouts are successfully detected, and the internal state of the proxy gets cleaned up as well. Hopefully making it ready for deployment.

Sending disconnect events explicitly during normal operations has been fixed as well. Causing the android proxy application to return to the base state.