aboutsummaryrefslogtreecommitdiff
path: root/grecs
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-01-04 14:08:29 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-01-04 14:08:29 +0200
commit2c03055b8ed023e7d8d65f2dbd51cd128040fcfb (patch)
tree7792b90c2a99e1910ffbdd2f277b68f63190f0c0 /grecs
parent2782ae034e51d5e9c74a9b1f2c6e6c452bd83243 (diff)
downloadpies-2c03055b8ed023e7d8d65f2dbd51cd128040fcfb.tar.gz
pies-2c03055b8ed023e7d8d65f2dbd51cd128040fcfb.tar.bz2
Redo URI handling.
* src/ctl.c (res_instance) (res_programs): Take partial URI as argument (instead of full URI split on path delimiter) (ctlio_resource): New member uri_len; Change signature of handler. (find_resource): Compare URI prefix. (ctlio_do_command): Redo URI parsing. Improve error checking. * src/piesctl.c (shttp_print_error): New function. (shttp_fatal): Print error on 404 and 409 responses.
Diffstat (limited to 'grecs')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.