Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
016968ad
Commit
016968ad
authored
10 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
Removed net_skeleton dependency from examples/proxy_server
parent
710b8881
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/proxy_server/Makefile
+1
-1
1 addition, 1 deletion
examples/proxy_server/Makefile
examples/proxy_server/proxy_server.c
+14
-1
14 additions, 1 deletion
examples/proxy_server/proxy_server.c
with
15 additions
and
2 deletions
examples/proxy_server/Makefile
+
1
−
1
View file @
016968ad
...
...
@@ -2,7 +2,7 @@
# All rights reserved
PROG
=
proxy_server
FLAGS
=
-I
../..
-I
../../../net_skeleton
-DNS_ENABLE_SSL
FLAGS
=
-I
../..
-DNS_ENABLE_SSL
CFLAGS
=
-W
-Wall
-g
-O0
-pthread
-lssl
$(
FLAGS
)
$(
CFLAGS_EXTRA
)
SOURCES
=
$(
PROG
)
.c ../../mongoose.c
...
...
This diff is collapsed.
Click to expand it.
examples/proxy_server/proxy_server.c
+
14
−
1
View file @
016968ad
...
...
@@ -11,7 +11,20 @@
// Configure your browser to use localhost:2014 as a proxy for all protocols
// Then, navigate to https://cesanta.com
#include
"net_skeleton.h"
#include
<sys/stat.h>
#include
<signal.h>
#include
<stdarg.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
#include
<time.h>
#ifdef _WIN32
#define sleep(x) Sleep((x) * 1000)
#else
#include
<unistd.h>
#endif
#include
"mongoose.h"
static
int
s_received_signal
=
0
;
...
...
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