Changeset 61a834efe1547debbe686651d648938d6ea24eff
- Timestamp:
- 03/02/08 03:13:41
(5 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1204427621 +0000
- git-parent:
[601028a0cf532695cb9ad0c413614254754dcf16]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1204427621 +0000
- Message:
require SSL to be explicitly turned on
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r06f58e6 |
r61a834e |
|
| 282 | 282 | int backlog; |
|---|
| 283 | 283 | eventer_func_t f; |
|---|
| | 284 | noit_conf_boolean ssl; |
|---|
| 284 | 285 | noit_hash_table *sslconfig, *config; |
|---|
| 285 | 286 | |
|---|
| … | … | |
| 316 | 317 | backlog = 5; |
|---|
| 317 | 318 | |
|---|
| | 319 | if(!noit_conf_get_boolean(listener_configs[i], |
|---|
| | 320 | "ancestor-or-self::node()/@ssl", &ssl)) |
|---|
| | 321 | ssl = noit_false; |
|---|
| | 322 | |
|---|
| 318 | 323 | sslconfig = noit_conf_get_hash(listener_configs[i], "sslconfig"); |
|---|
| 319 | 324 | config = noit_conf_get_hash(listener_configs[i], "config"); |
|---|
| 320 | 325 | |
|---|
| 321 | 326 | noit_listener(address, port, SOCK_STREAM, backlog, |
|---|
| 322 | | sslconfig, config, f, NULL); |
|---|
| | 327 | ssl ? sslconfig : NULL, config, f, NULL); |
|---|
| 323 | 328 | } |
|---|
| 324 | 329 | } |
|---|