* [LIBOMV-506] Complete rewrite of CapsBase to use HttpWebRequest instead of our homebrewed WebRequest hack. We lose the upload progress callback but gain IOCP thread instead of System.Thread usage and Keep-Alive support
* Content-Types described in http://tools.ietf.org/html/draft-hamrick-llsd-00 are used for CAPS requests. This *may* be incompatible with the current SL grid, needs testing * Modified CapsClient requests to require OSDFormat enum and timeout values git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2680 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -1132,8 +1132,8 @@ namespace GridProxy
|
||||
remoteComplete.Set();
|
||||
}
|
||||
);
|
||||
loginRequest.BeginGetResponse(content, "application/xml+llsd"); //xml+llsd
|
||||
remoteComplete.WaitOne(30000, false);
|
||||
loginRequest.BeginGetResponse(content, "application/llsd+xml", 1000 * 100);
|
||||
remoteComplete.WaitOne(1000 * 100, false);
|
||||
|
||||
if (response == null) {
|
||||
byte[] wr = Encoding.ASCII.GetBytes("HTTP/1.0 500 Internal Server Error\r\nContent-Length: 0\r\n\r\n");
|
||||
|
||||
Reference in New Issue
Block a user