Re: CGI and euc

new topic     » goto parent     » topic index » view thread      » older message » newer message

I haven't been able to reproduce the 25% CPU utilisation. Nevertheless, here's code, html, and part of the Chrome session:

-- suck.ex (suck eggs) 
--include std/net/url.e 
puts(1, "HTTP/1.0 200 OK\r\nContent-type:text/javascript\r\n\r\n" ) 
puts(1, "console.log('foo');\r\n") 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">  
<head>  
<script src="http://localhost:8088/cgi/suck.exe?argument=nothing particular" type="text/javascript"></script> 
</head> 
<body id="top">  
</body>  
</html>  

suck.exe?argument=nothing%20particular	GET	(failed)	Pending	quux.html:4	13B	358ms	 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu