Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
0b977c96
Commit
0b977c96
authored
20 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added [web] DEBUG_SSJS option to keep tempoary SSJS files.
parent
f91da679
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/websrvr.c
+2
-1
2 additions, 1 deletion
src/sbbs3/websrvr.c
src/sbbs3/websrvr.h
+2
-0
2 additions, 0 deletions
src/sbbs3/websrvr.h
with
4 additions
and
1 deletion
src/sbbs3/websrvr.c
+
2
−
1
View file @
0b977c96
...
...
@@ -754,7 +754,8 @@ static void close_request(http_session_t * session)
putmsgptrs
(
&
scfg
,
session
->
user
.
number
,
session
->
subscan
);
if
(
session
->
req
.
cleanup_file
!=
NULL
)
{
unlink
(
session
->
req
.
cleanup_file
);
if
(
!
(
startup
->
options
&
WEB_OPT_DEBUG_SSJS
))
remove
(
session
->
req
.
cleanup_file
);
free
(
session
->
req
.
cleanup_file
);
}
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/websrvr.h
+
2
−
0
View file @
0b977c96
...
...
@@ -113,6 +113,7 @@ static struct init_field web_init_fields[] = {
#define WEB_OPT_DEBUG_RX (1<<0)
/* Log all received requests */
#define WEB_OPT_DEBUG_TX (1<<1)
/* Log all transmitted responses */
#define WEB_OPT_DEBUG_SSJS (1<<2)
/* Don't delete sbbs_ssjs.*.html */
#define WEB_OPT_VIRTUAL_HOSTS (1<<4)
/* Use virutal host html subdirs */
#define WEB_OPT_NO_CGI (1<<5)
/* Disable CGI support */
#define WEB_OPT_HTTP_LOGGING (1<<6)
/* Create/write-to HttpLogFile */
...
...
@@ -125,6 +126,7 @@ static ini_bitdesc_t web_options[] = {
{
WEB_OPT_DEBUG_RX
,
"DEBUG_RX"
},
{
WEB_OPT_DEBUG_TX
,
"DEBUG_TX"
},
{
WEB_OPT_DEBUG_SSJS
,
"DEBUG_SSJS"
},
{
WEB_OPT_VIRTUAL_HOSTS
,
"VIRTUAL_HOSTS"
},
{
WEB_OPT_NO_CGI
,
"NO_CGI"
},
{
WEB_OPT_HTTP_LOGGING
,
"HTTP_LOGGING"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment