Spacewalk Proxy broker specific handler code called by rhnApache.
Broker handler get request from clients from outside. Some request
(POST and HEAD) bypass cache so, it is passed directly to parent. For
everything else we transform destination to localhost:80 (which is
handled by Redirect handler) and set proxy as local squid. This way we
got all request cached localy by squid.
|
|
|
|
|
handler(self)
Main handler to handle all requests pumped through this server. |
source code
|
|
|
|
|
|
|
|
|
__cacheClientSessionToken(self,
headers)
pull session token from headers and push to caching daemon. |
source code
|
|
|
__callLocalRepository(self,
req_type,
identifier,
funct,
params)
Contacts the local repository and retrieves files |
source code
|
|
|
__checkAuthSessionTokenCache(self,
token,
channel)
Authentication / authorize the channel |
source code
|
|
Inherited from rhnShared.SharedHandler (private):
_clientCommo ,
_connectToParent ,
_create_connection ,
_forwardHTTPBody ,
_forwardHTTPHeaders ,
_forwardServer2Client ,
_getEffectiveURI ,
_get_header ,
_handleServerResponse ,
_proxy2server ,
_serverCommo
|