Differences From:
File
src/sync.c
part of check-in
[797d680ef5]
- Add code to understand the "https://" prefix on server URLs. Any attempt to
use https gives an error at this point, however. This is a work in progress.
by
drh on
2009-01-13 18:43:47.
[view]
To:
File
src/sync.c
part of check-in
[327823e39b]
- Continuing work on the new HTTP transport mechanism. Make it more obvious
where in the code extensions to support file: and https: belong.
by
drh on
2009-03-30 00:58:20.
[view]
@@ -53,11 +53,8 @@
if( zUrl==0 ){
return; /* No default server */
}
url_parse(zUrl);
- if( g.urlIsFile ){
- return; /* Network sync only */
- }
if( g.urlPort!=g.urlDfltPort ){
printf("Autosync: %s://%s:%d%s\n",
g.urlProtocol, g.urlName, g.urlPort, g.urlPath);
}else{
@@ -87,11 +84,8 @@
if( urlOptional ) exit(0);
usage("URL");
}
url_parse(zUrl);
- if( g.urlIsFile ){
- fossil_fatal("network sync only");
- }
db_set("last-sync-url", zUrl, 0);
user_select();
if( g.argc==2 ){
if( g.urlPort!=g.urlDfltPort ){