Przeglądaj źródła

More fixes to pipelining

pull/122/head
Chandrashekhar Mullaparthi 10 lat temu
rodzic
commit
b8b6add47f
1 zmienionych plików z 7 dodań i 3 usunięć
  1. +7
    -3
      src/ibrowse_lib.erl

+ 7
- 3
src/ibrowse_lib.erl Wyświetl plik

@ -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),

Ładowanie…
Anuluj
Zapisz