Browse Source

More fixes to pipelining

pull/122/head
Chandrashekhar Mullaparthi 10 years ago
parent
commit
b8b6add47f
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/ibrowse_lib.erl

+ 7
- 3
src/ibrowse_lib.erl View File

@ -28,7 +28,8 @@
get_value/2,
get_value/3,
parse_url/1,
printable_date/0
printable_date/0,
printable_date/1
]).
get_trace_status(Host, Port) ->
@ -367,8 +368,11 @@ default_port(https) -> 443;
default_port(ftp) -> 21.
printable_date() ->
{{Y,Mo,D},{H, M, S}} = calendar:local_time(),
{_,_,MicroSecs} = now(),
printable_date(os:timestamp()).
printable_date(Now) ->
{{Y,Mo,D},{H, M, S}} = calendar:now_to_local_time(Now),
{_,_,MicroSecs} = Now,
[integer_to_list(Y),
$-,
integer_to_list(Mo),

Loading…
Cancel
Save