1

Suppose we have more than one temp Async pluggable protocols for schema lets say ftp: then which one will be called by urlmon?

anand
  • 11,071
  • 28
  • 101
  • 159

1 Answers1

2

According to the docs when multiple handlers are registered for a namespace then last past the post wins, this also implies that temporary handlers trump those declared in the registry.

Excerpt from IInternetSession::RegisterNameSpace on MSDN:

Because pluggable protocol handlers are not chained, only the last handler to be registered will be active; therefore, it is better to create a new namespace, rather than reuse an existing one.

stephbu
  • 5,072
  • 26
  • 42