Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
d4d51c33
Commit
d4d51c33
authored
Jun 28, 2003
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http options inserted
parent
6da36120
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
ChangeLog
ChangeLog
+1
-1
cargs.c
cargs.c
+12
-0
No files found.
ChangeLog
View file @
d4d51c33
http options in cargs
when closing a client and no longer listening for new ones, don't crash
fixed a bug with ClientConnectionGone
endianness is checked at configure time
...
...
cargs.c
View file @
d4d51c33
...
...
@@ -32,6 +32,10 @@ rfbUsage(void)
"new non-shared
\n
"
" connection comes in (refuse new connection "
"instead)
\n
"
);
fprintf
(
stderr
,
"-httpdir dir-path enable http server using dir-path home
\n
"
);
fprintf
(
stderr
,
"-httpport portnum use portnum for http connection
\n
"
);
fprintf
(
stderr
,
"-enablehttpproxy enable http proxy support
\n
"
);
exit
(
1
);
}
...
...
@@ -89,6 +93,14 @@ rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
/* we just remove the processed arguments from the list */
if
(
i
!=
i1
)
rfbPurgeArguments
(
argc
,
&
i1
,
i
-
i1
,
argv
);
}
else
if
(
strcmp
(
argv
[
i
],
"-httpdir"
)
==
0
)
{
/* -httpdir directory-path */
if
(
i
+
1
>=
*
argc
)
rfbUsage
();
rfbScreen
->
httpDir
=
argv
[
++
i
];
}
else
if
(
strcmp
(
argv
[
i
],
"-httpport"
)
==
0
)
{
/* -httpport portnum */
if
(
i
+
1
>=
*
argc
)
rfbUsage
();
rfbScreen
->
httpPort
=
atoi
(
argv
[
++
i
]);
}
else
if
(
strcmp
(
argv
[
i
],
"-enablehttpproxy"
)
==
0
)
{
rfbScreen
->
httpEnableProxyConnect
=
TRUE
;
}
i1
++
;
i
=
i1
;
...
...
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