mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
break the loop if the socket reached to EOF. [ruby-talk:142285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									0b2defb077
								
							
						
					
					
						commit
						2866bd642f
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Tue May 17 15:31:31 2005  GOTOU Yuuzou  <gotoyuzo@notwork.org>
 | 
			
		||||
 | 
			
		||||
	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should 
 | 
			
		||||
	  break the loop if the socket reached to EOF. [ruby-talk:142285]
 | 
			
		||||
 | 
			
		||||
Tue May 17 11:52:18 2005  NAKAMURA Usaku  <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* win32/win32.c (unixtime_to_filetime): use localtime() instead of
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ module WEBrick
 | 
			
		|||
            timeout = 0 if @status != :Running
 | 
			
		||||
            timeout -= 0.5
 | 
			
		||||
          end
 | 
			
		||||
          raise HTTPStatus::EOFError if timeout <= 0
 | 
			
		||||
          raise HTTPStatus::EOFError if timeout <= 0 || sock.eof?
 | 
			
		||||
          req.parse(sock)
 | 
			
		||||
          res.request_method = req.request_method
 | 
			
		||||
          res.request_uri = req.request_uri
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue