Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9401ae94
Commit
9401ae94
authored
Oct 03, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't use https url by default, if ssl is not available
parent
4c34bcf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
feedback.cc
feedback.cc
+7
-1
No files found.
feedback.cc
View file @
9401ae94
...
@@ -298,6 +298,12 @@ static int free(void *p)
...
@@ -298,6 +298,12 @@ static int free(void *p)
return
0
;
return
0
;
}
}
#ifdef HAVE_OPENSSL
#define DEFAULT_PROTO "https://"
#else
#define DEFAULT_PROTO "http://"
#endif
static
MYSQL_SYSVAR_STR
(
server_uid
,
server_uid
,
static
MYSQL_SYSVAR_STR
(
server_uid
,
server_uid
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_NOCMDOPT
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_NOCMDOPT
,
"Automatically calculated server unique id hash."
,
NULL
,
NULL
,
0
);
"Automatically calculated server unique id hash."
,
NULL
,
NULL
,
0
);
...
@@ -307,7 +313,7 @@ static MYSQL_SYSVAR_STR(user_info, user_info,
...
@@ -307,7 +313,7 @@ static MYSQL_SYSVAR_STR(user_info, user_info,
NULL
,
NULL
,
""
);
NULL
,
NULL
,
""
);
static
MYSQL_SYSVAR_STR
(
url
,
url
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_RQCMDARG
,
static
MYSQL_SYSVAR_STR
(
url
,
url
,
PLUGIN_VAR_READONLY
|
PLUGIN_VAR_RQCMDARG
,
"Space separated URLs to send the feedback report to."
,
NULL
,
NULL
,
"Space separated URLs to send the feedback report to."
,
NULL
,
NULL
,
"https://
mariadb.org/feedback_plugin/post"
);
DEFAULT_PROTO
"
mariadb.org/feedback_plugin/post"
);
static
MYSQL_SYSVAR_ULONG
(
send_timeout
,
send_timeout
,
PLUGIN_VAR_RQCMDARG
,
static
MYSQL_SYSVAR_ULONG
(
send_timeout
,
send_timeout
,
PLUGIN_VAR_RQCMDARG
,
"Timeout (in seconds) for the sending the report."
,
"Timeout (in seconds) for the sending the report."
,
NULL
,
NULL
,
60
,
1
,
60
*
60
*
24
,
1
);
NULL
,
NULL
,
60
,
1
,
60
*
60
*
24
,
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment