mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
net/spyc is not looking good :-(
This commit is contained in:
parent
40e7a625ee
commit
a4e16cd2c4
6 changed files with 70 additions and 84 deletions
|
@ -29,14 +29,16 @@ void dispatch(mixed header_vars, mixed varops, mixed method, mixed body) {
|
|||
if ((t = vars["_context"] || vars["_source"])) {
|
||||
array(mixed) u;
|
||||
unless (u = parse_uniform(t)) {
|
||||
DISPATCHERROR("logical source is not an uniform\n")
|
||||
DISPATCHERROR("logical source is not a uniform\n")
|
||||
}
|
||||
#ifdef PSYC_TCP
|
||||
#ifdef USE_VERIFICATION
|
||||
# ifdef PSYC_TCP
|
||||
unless (qAuthenticated(NAMEPREP(u[UHost]))) {
|
||||
DISPATCHERROR("non-authenticated host\n")
|
||||
}
|
||||
#else
|
||||
# else
|
||||
// TODO?
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
// check that _target is hosted by us
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue