Closed
Bug 747947
Opened 13 years ago
Closed 13 years ago
Implement an "http only" variation of selfserv (httpserv)
Categories
(NSS :: Test, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.14
People
(Reporter: KaiE, Assigned: KaiE)
References
Details
Attachments
(3 files)
|
27.60 KB,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
|
52.91 KB,
patch
|
Details | Diff | Splinter Review | |
|
29.49 KB,
patch
|
Details | Diff | Splinter Review |
In order to make the NSS_AIA testing fully self-contained,
without having to rely on an external HTTP server,
and without requiring that a separate HTTP server is installed on the build machine,
NSS should provide a minimal HTTP server.
In fact, selfserv already contains all of the functionality that we need for that.
It's just that selfserv is designed to be a server for HTTPS, only.
We have two choices to change this.
(a) copy selfserv code, and remove anything that's SSL specific
or
(b) use additional code to enable selfserv to allow as a plain HTTP server
| Assignee | ||
Comment 1•13 years ago
|
||
I have a patch that implements strategy (a), just because it was quicker for me to get it done this way.
| Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → kaie
| Assignee | ||
Comment 3•13 years ago
|
||
Above patch v1 introduces a new httpserv.c file.
This patch shows the differences between
existing selfserv.c
and
new httpserv.c
Most of it is removal.
| Assignee | ||
Comment 4•13 years ago
|
||
Do you prefer
(a) clearly distinguish HTTP and HTTPS server tools
with code duplication
or
(b) use a single selfserv tool that can do both HTTPS and HTTP,
no code duplication,
but more complicated usage of selfserv?
| Assignee | ||
Updated•13 years ago
|
Attachment #617519 -
Attachment description: Patch v1 --- add a separate httpserv executable → Patch v1 --- add a separate httpserv executable [tested]
| Assignee | ||
Comment 5•13 years ago
|
||
Alternative implementation of the (b) approach.
| Assignee | ||
Comment 6•13 years ago
|
||
Bob, Wan-Teh,
please give me your opinion, whether we should go ahead with (a) and review patch v1,
or whether we should go route (b), which would require me to restart my testing with patch B2.
| Assignee | ||
Updated•13 years ago
|
Attachment #617519 -
Flags: review?(rrelyea)
| Assignee | ||
Updated•13 years ago
|
Attachment #617519 -
Flags: feedback?(wtc)
Comment 7•13 years ago
|
||
Comment on attachment 617519 [details] [diff] [review]
Patch v1 --- add a separate httpserv executable [tested]
r+ rrelyea.
Thanks for the diff patch between httpserv and selfserv.
bob
Attachment #617519 -
Flags: review?(rrelyea) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Checking in manifest.mn;
/cvsroot/mozilla/security/nss/cmd/manifest.mn,v <-- manifest.mn
new revision: 1.35; previous revision: 1.34
done
RCS file: /cvsroot/mozilla/security/nss/cmd/httpserv/Makefile,v
done
Checking in httpserv/Makefile;
/cvsroot/mozilla/security/nss/cmd/httpserv/Makefile,v <-- Makefile
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/security/nss/cmd/httpserv/httpserv.c,v
done
Checking in httpserv/httpserv.c;
/cvsroot/mozilla/security/nss/cmd/httpserv/httpserv.c,v <-- httpserv.c
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/security/nss/cmd/httpserv/manifest.mn,v
done
Checking in httpserv/manifest.mn;
/cvsroot/mozilla/security/nss/cmd/httpserv/manifest.mn,v <-- manifest.mn
initial revision: 1.1
done
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: Implement an "http only" variation of selfserv → Implement an "http only" variation of selfserv (httpserv)
| Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 3.14
| Assignee | ||
Updated•13 years ago
|
Attachment #617519 -
Flags: feedback?(wtc)
You need to log in
before you can comment on or make changes to this bug.
Description
•