Differences From:
File
src/main.c
part of check-in
[2be82dcc2a]
- The server now issues error messages in the synchronization
protocol when a database error occurs during sync.
Ticket 39f3294e213111a51e93d02fef6faa0062979619
by
drh on
2008-12-07 18:48:09.
[view]
To:
File
src/main.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]
@@ -84,11 +84,14 @@
int *aCommitFile; /* Array of files to be committed */
int urlIsFile; /* True if a "file:" url */
+ int urlIsHttps; /* True if a "https:" url */
char *urlName; /* Hostname for http: or filename for file: */
char *urlHostname; /* The HOST: parameter on http headers */
- int urlPort; /* TCP port number for http: */
+ char *urlProtocol; /* "http" or "https" */
+ int urlPort; /* TCP port number for http: or https: */
+ int urlDfltPort; /* The default port for the given protocol */
char *urlPath; /* Pathname for http: */
char *urlUser; /* User id for http: */
char *urlPasswd; /* Password for http: */
char *urlCanonical; /* Canonical representation of the URL */