R10B-7 inets issue
Ingela Anderton
ingela@REDACTED
Fri Sep 16 09:38:01 CEST 2005
Serge Aleynikov wrote:
> OTP team:
>
> I installed R10B-7 release on Linux and while running inets httpd the
> following printout shows in the terminal window every time an http
> client is making a request to a dynamic web page (using mod_esi). This
> hasn't being seen in the prior OTP releases:
>
> 1> Env [{server_software,"inets/4.5.3"},
> {server_name,"devlinuxpro"},
> {gateway_interface,"CGI/1.1"},
> {server_protocol,"HTTP/1.1"},
> {server_port,8080},
> {request_method,"GET"},
> {remote_addr,"10.206.200.65"},
> {script_name,"/cgi-bin/erl/server_mgr/http_get_state"},
> {http_host,"devlinuxpro.mis.idt.net:8080"},
> {http_user_agent,"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
> rv:1.7.5) Gecko/20050603 Netscape/8.0.2"},
[...]
> generate_webpage(ModData, ESIBody, Modules, ModuleName, FunctionName,
> Input, ScriptElements) ->
> ...
> io:format("Env ~p ~n", [Env]),
>
> ---------
>
> Is this a debugging leftover??? I don't see any way to get rid of this
> other than to patch mod_esi. :-(
I am afraid you are right this is a debugg leftover. It has been
removed in the latest version of the code. Trace is our preferred
debugging method but sometimes a plain io:format comes in handy.
I am sorry that it was able to make it into the open source release.
--
/m.v.h Ingela - OTP team
More information about the erlang-questions
mailing list