Closed
Bug 819550
Opened 12 years ago
Closed 2 years ago
MozHttpd class should inherit from SimpleServer
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: k0scist, Unassigned)
References
Details
Attachments
(1 file)
6.84 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
https://github.com/mozilla/mozbase/blob/master/mozhttpd/mozhttpd/mozhttpd.py#L164 Unless there is a good reason we are avoiding inheriting from python's SimpleServer, which we utilize anyway.
Comment 1•11 years ago
|
||
I see that we use EasyServer which inherits from BaseHTTPServer. Do you want to remove EasyServer, make MozHttpd inherit from SimpleHTTPServer and just use that?
Comment 2•11 years ago
|
||
Yes, that sounds right.
Comment 3•11 years ago
|
||
Assignee: nobody → mihneadb
Attachment #711242 -
Flags: review?(jhammel)
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 711242 [details] [diff] [review] refactor as requested This looks good to me. I am not sure if this breaks existing stuff though so am giving the review over. :jmaher, if you don't know or don't have time to look into this, could you pass the buck to :wlach? And if he doesn't know he can pass the buck back to me for an r+ unless :ted wants to untangle this madness.
Attachment #711242 -
Flags: review?(jhammel) → review?(jmaher)
Comment 5•11 years ago
|
||
For what it's worth, the mozbase tests pass.
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Mihnea Dobrescu-Balaur (:mihneadb) from comment #5) > For what it's worth, the mozbase tests pass. Sadly, that ain't worth much :(
Comment 7•11 years ago
|
||
Comment on attachment 711242 [details] [diff] [review] refactor as requested Review of attachment 711242 [details] [diff] [review]: ----------------------------------------------------------------- I remember originally wanting to go with BaseHttpServer, but the path of least resistance was SimpleHttpServer. Please ensure that the performance of this is the same, I recall an attempt early on when loading about 1000 pages in a row took an order of magnitude longer.
Attachment #711242 -
Flags: review?(jmaher) → review+
Comment 8•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:gbrown, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: mihneadb → nobody
Flags: needinfo?(gbrown)
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(gbrown)
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•