rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: SilentPliz on June 18, 2009, 01:14:14 PM

Title: Modification suggested
Post by: SilentPliz on June 18, 2009, 01:14:14 PM
   
Hi Rejetto!  :)

I suggest you a very BIG change in main.pas:  :-\ ;D

this:

if assigned(cd) and assigned(cd.conn) then
  addr:=nonEmptyConcat('', cd.conn.request.user, '@')
    +cd.address+':'+cd.conn.port
    +nonEmptyConcat(' {', localDNSget(cd.address), '}');

instead of:

if assigned(cd) and assigned(cd.conn) then
  addr:=nonEmptyConcat('', cd.conn.request.user, '@')
    +cd.address+':'+cd.conn.port
    +nonEmptyConcat('{', localDNSget(cd.address), '}');

This is to avoid this in the log when using adress2name:

14:54:48 127.0.0.1:1841{Local} 406 Octets reçus
14:54:48 127.0.0.1:1841{Local} Requête GET /favicon.ico

instead of this:

14:54:48 127.0.0.1:1841 {Local} 406 Octets reçus
14:54:48 127.0.0.1:1841 {Local} Requête GET /favicon.ico

I know this is hard work, excuse me.  ;D

Title: Re: Modification suggested ;)
Post by: Mars on June 18, 2009, 01:23:55 PM
c'est plutôt moi qui fait ce genre de proposition en général. Toi, tu te contente de traduire ... ;) :D
Title: Re: Modification suggested ;)
Post by: bacter on June 18, 2009, 02:01:25 PM
Pour les modifications de cette profondeur on devraît au moins faire un poll !!! :D
;D ;D ;D
Title: Re: Modification suggested ;)
Post by: SilentPliz on June 18, 2009, 02:02:50 PM
J'y songerais la prochaine fois.  ;D

Bien vu!  ;)
Title: Re: Modification suggested ;)
Post by: Mars on June 18, 2009, 03:11:16 PM
 Done! :D
Title: Re: Modification suggested ;)
Post by: SilentPliz on June 18, 2009, 05:11:30 PM
On attend avec "stupeur et tremblements" le vote de rejetto.  :D
Title: Re: Modification suggested ;)
Post by: Mars on June 18, 2009, 05:12:50 PM
méfiance avec celui de fysack :D
Title: Re: Modification suggested
Post by: rejetto on June 19, 2009, 02:43:16 PM
the reason of this request is not clear to me
Title: Re: Modification suggested
Post by: SilentPliz on June 19, 2009, 03:13:48 PM
I want there to be a space between the port and the {name} in the log shown in HFS, when using adress2name.

16:44:13 SilentPliz#@192.168.1.6:2968{Stunnel}

This is an request aesthetic and for the visual comfort only.  :)
Title: Re: Modification suggested
Post by: Mars on June 19, 2009, 04:02:37 PM
silentpliz, écris ton post en french , rejetto te comprendra peut-être mieux  :D
Title: Re: Modification suggested
Post by: rejetto on June 21, 2009, 10:41:11 AM
mmm, ok, i guess since the introduction of the tabbed file format, this kind of change is not a problem