Increased Timeout to 30 secs.
							parent
							
								
									91a604d4b6
								
							
						
					
					
						commit
						d4323dd753
					
				| 
						 | 
				
			
			@ -142,17 +142,17 @@ namespace OpenSim.Framework
 | 
			
		|||
        /// </summary>
 | 
			
		||||
        public static OSDMap PutToService(string url, OSDMap data)
 | 
			
		||||
        {
 | 
			
		||||
            return ServiceOSDRequest(url,data,"PUT",10000);
 | 
			
		||||
            return ServiceOSDRequest(url,data,"PUT",30000);
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        public static OSDMap PostToService(string url, OSDMap data)
 | 
			
		||||
        {
 | 
			
		||||
            return ServiceOSDRequest(url,data,"POST",10000);
 | 
			
		||||
            return ServiceOSDRequest(url,data,"POST",30000);
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        public static OSDMap GetFromService(string url)
 | 
			
		||||
        {
 | 
			
		||||
            return ServiceOSDRequest(url,null,"GET",10000);
 | 
			
		||||
            return ServiceOSDRequest(url,null,"GET",30000);
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue