Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5937)

Issue 10685043: cpp-netlib server

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by Ben Laurie (Google)
Modified:
10 years, 9 months ago
Reviewers:
ekasper, Eran
CC:
ctlog-opensource-review_google.com
Visibility:
Public.

Description

cpp-netlib server

Patch Set 1 #

Total comments: 23

Patch Set 2 : Upgrade to cpp-netlib 0.10.0 #

Patch Set 3 : Respond to comments #

Patch Set 4 : Working cert flow #

Patch Set 5 : Last attempt crashed #

Total comments: 13

Patch Set 6 : Address comments, add pre-cert processing #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -68 lines) Patch
M .gitignore View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M src/client/upload_server_cert.sh View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/log/cert_submission_handler.h View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download
M src/log/cert_submission_handler.cc View 1 2 3 4 5 3 chunks +42 lines, -29 lines 2 comments Download
M src/log/frontend.h View 1 2 3 4 5 3 chunks +16 lines, -0 lines 0 comments Download
M src/log/frontend.cc View 1 2 3 4 5 3 chunks +50 lines, -2 lines 0 comments Download
M src/server/ct-rfc-server.cc View 1 2 3 4 5 8 chunks +124 lines, -31 lines 0 comments Download
M src/util/json_wrapper.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 13
Ben Laurie (Google)
10 years, 10 months ago (2013-06-27 12:43:10 UTC) #1
ekasper
General comment: I *do* approve seeing a working example, no matter how incomplete. But I ...
10 years, 10 months ago (2013-06-28 15:32:52 UTC) #2
Ben Laurie (Google)
I'll update the CL when I have more functionality. https://codereview.appspot.com/10685043/diff/1/src/Makefile File src/Makefile (right): https://codereview.appspot.com/10685043/diff/1/src/Makefile#newcode33 src/Makefile:33: ...
10 years, 10 months ago (2013-07-01 11:44:44 UTC) #3
ekasper
Since, as you explained off-thread, you have more work planned before this CL is ready ...
10 years, 10 months ago (2013-07-01 13:12:34 UTC) #4
Eran
drive-by review. As Emilia pointed out, it's hard to review the structure of the server ...
10 years, 10 months ago (2013-07-01 13:54:33 UTC) #5
Ben Laurie (Google)
https://codereview.appspot.com/10685043/diff/1/src/server/ct-rfc-server.cc File src/server/ct-rfc-server.cc (right): https://codereview.appspot.com/10685043/diff/1/src/server/ct-rfc-server.cc#newcode331 src/server/ct-rfc-server.cc:331: response = server::response::stock_reply( On 2013/07/01 13:54:34, Eran wrote: > ...
10 years, 10 months ago (2013-07-01 14:37:53 UTC) #6
Ben Laurie (Google)
On 1 July 2013 14:12, <ekasper@google.com> wrote: > Since, as you explained off-thread, you have ...
10 years, 10 months ago (2013-07-01 14:38:02 UTC) #7
Ben Laurie (Google)
PTAL. Note: no tests yet, probably simplest to test against Eran's new Java client.
10 years, 9 months ago (2013-07-17 16:41:09 UTC) #8
Eran
Looks good other than the switch statement in src/log/frontend.cc. Good to go once that's fixed. ...
10 years, 9 months ago (2013-07-18 10:45:14 UTC) #9
Ben Laurie (Google)
PTAL https://codereview.appspot.com/10685043/diff/27001/src/client/upload_server_cert.sh File src/client/upload_server_cert.sh (right): https://codereview.appspot.com/10685043/diff/27001/src/client/upload_server_cert.sh#newcode7 src/client/upload_server_cert.sh:7: export PYTHONPATH=$PYTHONPATH:../python On 2013/07/18 10:45:14, Eran wrote: > ...
10 years, 9 months ago (2013-07-18 12:09:31 UTC) #10
Eran
LGTM (please have a look at the comment in cert_submission_handler.h) https://codereview.appspot.com/10685043/diff/27001/src/log/cert_submission_handler.h File src/log/cert_submission_handler.h (right): https://codereview.appspot.com/10685043/diff/27001/src/log/cert_submission_handler.h#newcode34 ...
10 years, 9 months ago (2013-07-18 14:49:38 UTC) #11
Ben Laurie (Google)
On 2013/07/18 14:49:38, Eran wrote: > LGTM (please have a look at the comment in ...
10 years, 9 months ago (2013-07-18 16:02:47 UTC) #12
Ben Laurie (Google)
10 years, 9 months ago (2013-07-18 16:02:59 UTC) #13
https://codereview.appspot.com/10685043/diff/33001/src/log/cert_submission_ha...
File src/log/cert_submission_handler.cc (right):

https://codereview.appspot.com/10685043/diff/33001/src/log/cert_submission_ha...
src/log/cert_submission_handler.cc:161: LogEntry *entry) {
On 2013/07/18 14:49:39, Eran wrote:
> The output parameter type in the previous patchset made more sense, since the
> only field of the LogEntry modified is the Precert entry.

My view is the caller doesn't care, the caller just wants a LogEntry. Besides, I
intend to try to refactor this repetition away, so it will be necessary to pass
a LogEntry.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b