Ticket #19 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

Session pooling doesn't work on Vista

Reported by: alamaison Owned by: alamaison
Priority: major (affects peripheral workflow) Milestone: 0.3.0.0 Copy
Component: frontend Version:
Keywords: pool sessions vista Cc:

Description

The session pool, which caches SFTP connections between operations so that the user doesn't have to re-authenticate continually, doesn't seem to work when navigating between folders on Windows Vista

Change History

comment:4 Changed 10 years ago by alamaison

  • Status changed from new to closed
  • Resolution set to fixed

It appears that this was due to Vista Explorer creating folder instances from different threads (apartments). This meant we created a provider instance in one apartment and later tried to use it from another. This violates the rules of COM. We work around this be creating providing instances with a free-threaded dispenser that also marshals the pointers through proxies allowing cross-apartment calls.

Note: See TracTickets for help on using tickets.