mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Fix HTTP CORS bug when sending response for OPTIONS. 3.0.72
This commit is contained in:
		
							parent
							
								
									ec0fb82c0e
								
							
						
					
					
						commit
						dc1afc142f
					
				
					 8 changed files with 345 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -907,7 +907,7 @@ SrsJsonAny* SrsConfDirective::dumps_arg0_to_str()
 | 
			
		|||
 | 
			
		||||
SrsJsonAny* SrsConfDirective::dumps_arg0_to_integer()
 | 
			
		||||
{
 | 
			
		||||
    return SrsJsonAny::integer(::atol(arg0().c_str()));
 | 
			
		||||
    return SrsJsonAny::integer(::atoll(arg0().c_str()));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
SrsJsonAny* SrsConfDirective::dumps_arg0_to_number()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue