# HG changeset patch # User Olaf Wintermann # Date 1604215461 -3600 # Node ID f2c772336ecd5f802c96a4a071be08c3a3e345f1 # Parent 4779a6fb4fbee50cffa11854e9c80f324c4ea341 add some references to issues diff -r 4779a6fb4fbe -r f2c772336ecd src/server/daemon/acl.c --- a/src/server/daemon/acl.c Sat Oct 24 17:34:32 2020 +0200 +++ b/src/server/daemon/acl.c Sun Nov 01 08:24:21 2020 +0100 @@ -100,7 +100,7 @@ } User* acllist_getuser(Session *sn, Request *rq, ACLListHandle *list) { - // TODO: cache result + // TODO: cache result #50 if(!sn || !rq || !list) { return NULL; } @@ -179,7 +179,7 @@ ACLList *acl = acl_evallist(list, user, access_mask, NULL); if(acl) { acl_set_error_status(sn, rq, acl, user); - // TODO: don't free the user here + // TODO: don't free the user here #51 if(user) { user->free(user); } diff -r 4779a6fb4fbe -r f2c772336ecd src/server/daemon/httprequest.c --- a/src/server/daemon/httprequest.c Sat Oct 24 17:34:32 2020 +0200 +++ b/src/server/daemon/httprequest.c Sun Nov 01 08:24:21 2020 +0100 @@ -229,13 +229,13 @@ /* * get absolute path and query of the request uri */ - // TODO: check for '#' + // TODO: check for '#' #72 sstr_t absPath = http_request_get_abspath(request); if(!absPath.ptr) { // TODO: error msg return 1; } else if(absPath.ptr[0] == '*') { - // TODO: implement global OPTIONS + // TODO: implement global OPTIONS #71 return 1; } diff -r 4779a6fb4fbe -r f2c772336ecd src/server/daemon/keyfile_auth.c --- a/src/server/daemon/keyfile_auth.c Sat Oct 24 17:34:32 2020 +0200 +++ b/src/server/daemon/keyfile_auth.c Sun Nov 01 08:24:21 2020 +0100 @@ -93,7 +93,7 @@ return -1; } for(int i=0;igroups[i] = sstrdup(groups[i]); + user->groups[i] = sstrdup_a(a, groups[i]); } } else { diff -r 4779a6fb4fbe -r f2c772336ecd src/server/util/object.c --- a/src/server/util/object.c Sat Oct 24 17:34:32 2020 +0200 +++ b/src/server/util/object.c Sun Nov 01 08:24:21 2020 +0100 @@ -38,7 +38,6 @@ httpd_object* object_new(pool_handle_t *pool, char *name) { - // TODO: Speicherverwaltung httpd_object *obj = pool_malloc(pool, sizeof(httpd_object)); obj->pool = pool; obj->name = name;