
*** GOING

locations:
$ wget --no-check-certificate --user=mdtx --password="" \
   https://localhost/~mdtx-hello/cache/logo/logo.png
ou
$ wget --no-check-certificate --user=mdtx --password="" --max-redirect=1 \
  'http://localhost/~mdtx-hello/cgi/get.cgi?hash=022a34b2f9b893fba5774237e1aa80ea&size=24075' \
   --content-disposition
ou encore
$ wget --no-check-certificate --user=mdtx --password="" --max-redirect=1 \
  'http://localhost/~mdtx-hello/cgi/get.cgi' \
   --post-data='hash=022a34b2f9b893fba5774237e1aa80ea&size=24075' \
   --content-disposition


(WGET
ALL http://localhost/~mdtx-hello/cgi/get.cgi
=>
options: --no-check-certificate --user=mdtx --password="" --max-redirect=1 --content-disposition
022a34b2f9b893fba5774237e1aa80ea:24075	hash=022a34b2f9b893fba5774237e1aa80ea&size=24075
)

ex: https://localhost/~mdtx-hello/icons/floppy-icon.png

*** DONE

*** TEST

why ?
client/motd.c:669:  if (!allowedUser(env.confLabel, &isAllowed, 0)) goto error;
client/conf.c:144:  //if (!allowedUser(env.confLabel)) goto error;
client/commonHtml.c:521:  if (!allowedUser(env.confLabel, &itIs, 33)) goto error;
client/commonHtml.c:586:  if (!allowedUser(env.confLabel, &itIs, 33)) goto error;
client/misc.c:189:  if (!allowedUser(env.confLabel, &isAllowed, 0)) goto error;
client/misc.c:487:    if (!allowedUser(user, &isAllowed, 0)) goto error;
client/upload.c:507:  if (!allowedUser(env.confLabel, &isAllowed, 0)) goto error;

is it possible to set 
"int isUserAllowed = FALSE;"
as global variable in shellQuery.y ?

*** BUG

- memory leaks on server restart

*** TODO 

- https://linuxaria.com/howto/4-tricks-to-speed-up-ssh-connections

- find . -type f -name "*.[cly]" -exec grep -n ' \* TODO' /dev/null {} \;
- user and hostname: force lowercase

*** TODO LATER

- fatal: Could not change back to '/root/': Permission non accordée
(realpath need libc6 >= 2.19)

*** TODO MAYBE

- find . -type f -name "*.[cly]" -exec grep -n ' \* MAYBE' /dev/null {} \;
- manage signals for all and for each collections
- manage main locks for all and for each collections
- re-add 'mediatex srv hup' (same as /etc/init.d/mediatexd reload)
- cache::loadCache() do not need to load extraction metadata
- simplify code: is loadCollection alway need EXTR (to use getArchive) ?
- remove \) from extractFile.l : 'STRING  [^[:blank:]\)\n\r]{1,511}' ?
- add lexems for '<<<<<<<' to detect git conflicts
- rename src/misc/md5sums.c -> checksums.c
- rename src/memory/cvsprint.c -> gitprint.c
- add an apache alias for '~' as it is complicated to type on mac keyboard
- move date parser/serialiser code into perm.c
- no more use custom malloc into mediatex (still usefull for other client)
- refuse "^../" as content extraction rule
- manage ECDSA keys
- hook for ~mdtx-hello/cvs/scripts/deliver.sh and cgi templates
- move dirname into extract rule header to reduce metadata size
- add supp: wait CD doors is locked
- i10n for french
- replace gethostby*_r by getaddrinfo and co
- replace ardsm by mqueue (linear list as reverse order is never used)
- add thread ID to the log
