Differences From:
File
src/xfer.c
part of check-in
[31e94c0a04]
- Get "configuration push" working. Fix bugs in concealed-field processing
of tickets.
by
drh on
2008-10-25 20:43:28.
[view]
To:
File
src/xfer.c
part of check-in
[0600b278c0]
- Remove the unused inherit-anon configuration attribute. Fix the automatic
redirect that follows a login operation. Fix "config push user" on the
server side.
by
drh on
2008-10-26 21:30:23.
[view]
@@ -726,12 +726,8 @@
nErr++;
break;
}
if( zName[0]!='@' ){
- if( !recvConfig ){
- configure_prepare_to_receive(0);
- recvConfig = 1;
- }
db_multi_exec(
"REPLACE INTO config(name,value) VALUES(%Q,%Q)",
zName, blob_str(&content)
);
@@ -740,8 +736,12 @@
** client. But this can only happen if the client has authenticated
** as an administrator, so presumably we trust the client at this
** point.
*/
+ if( !recvConfig ){
+ configure_prepare_to_receive(0);
+ recvConfig = 1;
+ }
db_multi_exec("%s", blob_str(&content));
}
blob_reset(&content);
blob_seek(xfer.pIn, 1, BLOB_SEEK_CUR);