> Anyone have a good resource on the HttpModule/HttpApplication threading model?

I'm fairly certain it works like Java servlet filters.  The ASP.NET
worker processess each have a thread pool for handling HTTP requests.
When an incoming request is received, a pool thread is borrowed to
handle that request and that thread fires the various lifecycle event
handlers on registered HttpModule instances.  Module instance data
(class level) would therefore need to deal with concurrency caused by
multiple pool threads accessing module instances currently.  There may
be a many-to-many relationship between threads and module instances,
but concurrency would still apply.

Although it's hard to imagine any other model for HTTP
request/response pipeline handling, I don't have a reference to
support the above.  Please correct me if I'm wrong.

M

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to