mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Merge branch 'maint-0.3.5'
This commit is contained in:
commit
372df7a630
4
changes/bug28612
Normal file
4
changes/bug28612
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (windows services):
|
||||||
|
- Make Tor start correctly as an NT service again: previously it
|
||||||
|
was broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
|
||||||
|
|
@ -1267,7 +1267,7 @@ sandbox_init_filter(void)
|
|||||||
return cfg;
|
return cfg;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
run_tor_main_loop(void)
|
run_tor_main_loop(void)
|
||||||
{
|
{
|
||||||
handle_signals();
|
handle_signals();
|
||||||
|
@ -26,4 +26,6 @@ void tor_free_all(int postfork);
|
|||||||
|
|
||||||
int tor_init(int argc, char **argv);
|
int tor_init(int argc, char **argv);
|
||||||
|
|
||||||
|
int run_tor_main_loop(void);
|
||||||
|
|
||||||
#endif /* !defined(TOR_MAIN_H) */
|
#endif /* !defined(TOR_MAIN_H) */
|
||||||
|
@ -298,7 +298,7 @@ nt_service_body(int argc, char **argv)
|
|||||||
service_status.dwCurrentState = SERVICE_RUNNING;
|
service_status.dwCurrentState = SERVICE_RUNNING;
|
||||||
service_fns.SetServiceStatus_fn(hStatus, &service_status);
|
service_fns.SetServiceStatus_fn(hStatus, &service_status);
|
||||||
set_main_thread();
|
set_main_thread();
|
||||||
do_main_loop();
|
run_tor_main_loop();
|
||||||
tor_cleanup();
|
tor_cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -326,7 +326,7 @@ nt_service_main(void)
|
|||||||
return;
|
return;
|
||||||
switch (get_options()->command) {
|
switch (get_options()->command) {
|
||||||
case CMD_RUN_TOR:
|
case CMD_RUN_TOR:
|
||||||
do_main_loop();
|
run_tor_main_loop();
|
||||||
break;
|
break;
|
||||||
case CMD_LIST_FINGERPRINT:
|
case CMD_LIST_FINGERPRINT:
|
||||||
case CMD_HASH_PASSWORD:
|
case CMD_HASH_PASSWORD:
|
||||||
|
Loading…
Reference in New Issue
Block a user