lpleahy
f74dc4bbba
Fix issues detected by python web-server.
* Removed display of TPL
* Added NOP implementation for SO_REUSEADDR
* Add better detection of socket address
* Return first address
Signed-off-by: lpleahy
Python Web server below:
---------------
import sys
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
HandlerClass = SimpleHTTPRequestHandler
ServerClass = BaseHTTPServer.HTTPServer
Protocol = "HTTP/1.0"
port = 80
server_address = ('', port)
HandlerClass.protocol_version = Protocol
httpd = ServerClass(server_address, HandlerClass)
sa = httpd.socket.getsockname()
print "Serving HTTP on", sa[0], "port", sa[1], "..."
httpd.serve_forever()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13034 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-24 18:45:09 +00:00
..
2011-09-16 20:59:10 +00:00
2011-07-30 00:30:44 +00:00
2012-02-24 18:45:09 +00:00
2011-08-31 00:02:56 +00:00
2011-04-27 21:42:16 +00:00
2012-02-09 19:16:44 +00:00
2011-07-30 00:30:44 +00:00
2012-02-01 00:17:05 +00:00
2011-06-28 02:34:10 +00:00
2011-07-30 00:30:44 +00:00
2011-09-30 23:02:35 +00:00
2011-11-30 00:52:45 +00:00
2011-08-05 23:02:43 +00:00
2011-09-01 21:56:45 +00:00
2011-08-04 18:13:02 +00:00
2011-11-30 00:52:45 +00:00
2011-11-02 19:24:19 +00:00
2011-07-30 00:30:44 +00:00
2011-11-03 00:52:37 +00:00
2011-04-27 21:42:16 +00:00
2011-08-04 23:35:57 +00:00
2011-07-30 00:30:44 +00:00
2011-04-27 21:42:16 +00:00
2011-08-05 23:02:43 +00:00
2011-04-27 21:42:16 +00:00
2011-07-30 00:30:44 +00:00
2011-08-05 23:02:43 +00:00
2011-08-15 19:05:36 +00:00
2011-08-15 19:05:36 +00:00
2012-01-26 21:45:54 +00:00
2011-04-27 21:42:16 +00:00
2012-02-09 19:16:44 +00:00
2011-07-30 00:30:44 +00:00
2011-07-30 00:30:44 +00:00
2012-02-09 19:16:44 +00:00
2011-08-15 19:05:36 +00:00
2011-08-15 19:05:36 +00:00
2011-08-15 19:05:36 +00:00
2011-08-15 19:05:36 +00:00
2011-08-15 19:05:36 +00:00
2011-04-27 21:42:16 +00:00
2011-11-02 19:24:19 +00:00
2011-08-17 22:54:56 +00:00
2011-08-17 22:54:56 +00:00
2011-07-30 00:30:44 +00:00
2011-11-03 00:35:55 +00:00
2011-07-30 00:30:44 +00:00
2011-08-17 22:54:56 +00:00
2011-11-30 00:52:45 +00:00
2011-11-30 00:52:45 +00:00
2011-09-08 22:41:36 +00:00
2011-08-17 22:54:56 +00:00