Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
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
Container registry
Model registry
Operate
Environments
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
pikelang
pike
Commits
57201eb4
Commit
57201eb4
authored
25 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
now compiles on NT
Rev: src/modules/HTTPLoop/accept_and_parse.h:1.5
parent
fa4176be
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/HTTPLoop/accept_and_parse.h
+10
-2
10 additions, 2 deletions
src/modules/HTTPLoop/accept_and_parse.h
with
10 additions
and
2 deletions
src/modules/HTTPLoop/accept_and_parse.h
+
10
−
2
View file @
57201eb4
/* #define AAP_DEBUG 1 */
/* #define AAP_DEBUG 1 */
#define CACHE_HTABLE_SIZE 40951
#define CACHE_HTABLE_SIZE 40951
#ifndef __NT__
#ifdef HAVE_SIGNAL
#ifdef HAVE_SIGNAL
# define HAVE_TIMEOUTS
# define HAVE_TIMEOUTS
#endif
#endif
#endif
struct
res
struct
res
{
{
...
@@ -66,13 +68,19 @@ struct filesystem
...
@@ -66,13 +68,19 @@ struct filesystem
#endif
#endif
};
};
#ifdef INT64
#define LONG_LONG INT64
#else
#define LONG_LONG long
#endif
struct
cache
struct
cache
{
{
MUTEX_T
mutex
;
MUTEX_T
mutex
;
struct
cache
*
next
;
struct
cache
*
next
;
struct
cache_entry
*
htable
[
CACHE_HTABLE_SIZE
];
struct
cache_entry
*
htable
[
CACHE_HTABLE_SIZE
];
unsigned
long
long
size
,
entries
,
max_size
;
unsigned
LONG_LONG
size
,
entries
,
max_size
;
unsigned
long
long
hits
,
misses
,
stale
;
unsigned
LONG_LONG
hits
,
misses
,
stale
;
unsigned
int
num_requests
,
sent_data
,
received_data
;
unsigned
int
num_requests
,
sent_data
,
received_data
;
int
gone
;
int
gone
;
};
};
...
...
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