Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-09bug 509100 - [http servlet] performance tuningRaymond Auge8-87/+178
LPS-67139 Defer toString() value calculation LPS-69622 Dead field, never initialized, never used. LPS-69622 Use ConcurrentHashMap rather than synchronized all methods. LPS-69622 Use AtomicInteger to prevent lost counting. LPS-69622 Fallback to JDK6 only api. To ensure thread safety, createContextAttributes()/destroyContextAttributes() must still have the synchronized protection, consider they are only used during application initialization/destroy, there is no runtime overhead. At least this way getContextAttributes() is synchronized free, which is the most important thing to have. LPS-69622 Avoid using Hashtable, it just needs to be a Dictionary, delegate to ConcurrentHashMap LPS-69880 Avoid creating HttpSessionEvent unless there is any HttpSessionListener registered LPS-69882 Avoid duplicated path string indexing and splitting LPS-69883 The only creation of HttpServiceRuntimeImpl in Activator.addingService() is already wrapping the serviceProperties with UMDictionaryMap, inside HttpServiceRuntimeImpl constructor, there is no need to wrap it. LPS-69903 Shortcut as early as possible LPS-69903 Avoid using java.util.Stack, use LinkedList instead Signed-off-by: shuyangzhou <shuyang.zhou@liferay.com> Signed-off-by: Matthew Tambara <matthew.tambara@liferay.com> Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2017-01-05Bug 509973 - Comparator errors in I20170105-0320Y20170105-1040Y20170105-1000I20170108-2000I20170107-2000I20170106-2000I20170105-2000Thomas Watson1-0/+1
Change-Id: I5abbe1a9b26623da4c1af20bb96462893256313b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-10-03Fix API problem warnings about bundle versionY20161006-1000I20161005-1430I20161005-1045I20161005-0815I20161004-1000I20161004-0800Thomas Watson3-3/+131
Change-Id: I8b9048ccf5063214422d36b0bde2e2afc9b3be14 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-08-18Bug 497435 - [http servlet] performance optimizations, CPU and memoryY20160825-1000I20160824-1429I20160823-1359I20160823-0759Raymond Auge8-155/+276
https://issues.liferay.com/browse/LPS-66801 https://issues.liferay.com/browse/LPS-66813 https://issues.liferay.com/browse/LPS-66827 https://issues.liferay.com/browse/LPS-66847 https://issues.liferay.com/browse/LPS-66881 https://issues.liferay.com/browse/LPS-66903 https://issues.liferay.com/browse/LPS-66904 https://issues.liferay.com/browse/LPS-66908 https://issues.liferay.com/browse/LPS-66911 https://issues.liferay.com/browse/LPS-66959 Change-Id: I0374bfa5d566c2f01d34af57a64fd982b92ba4b8 Signed-off-by: shuyangzhou <shuyang.zhou@liferay.com> Signed-off-by: Matthew Tambara <matthew.tambara@liferay.com> Signed-off-by: Raymond Auge <raymond.auge@liferay.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-08-17Revert "Bug 497435 - [http servlet] performance optimizations, CPU and memory"Y20160818-1000Raymond Auge8-276/+155
This reverts commit 19ece600df81cdd99be55c27216249a8aa2c7b63.
2016-08-17Bug 497435 - [http servlet] performance optimizations, CPU and memoryRaymond Auge8-155/+276
https://issues.liferay.com/browse/LPS-66801 https://issues.liferay.com/browse/LPS-66813 https://issues.liferay.com/browse/LPS-66827 https://issues.liferay.com/browse/LPS-66847 https://issues.liferay.com/browse/LPS-66881 https://issues.liferay.com/browse/LPS-66903 https://issues.liferay.com/browse/LPS-66904 https://issues.liferay.com/browse/LPS-66908 https://issues.liferay.com/browse/LPS-66911 https://issues.liferay.com/browse/LPS-66959 Signed-off-by: shuyangzhou <shuyang.zhou@liferay.com> Signed-off-by: Matthew Tambara <matthew.tambara@liferay.com> Signed-off-by: Raymond Auge <raymond.auge@liferay.com> Change-Id: I18d937aefdc72695c5c0f2e8e6e90c77ba3984a6
2016-07-26Bug 498408 - HttpSessionAdapter attribute doesn't return string butI20160726-1400Thomas Watson1-1/+6
object name string Change-Id: I294298d9802b2341afa815e31dcc0ea91d580802 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-07-18Bug 497271 - [http servlet] complete implementation of the multipart APIY20160721-1000Raymond Auge25-187/+616
Signed-off-by: Raymond Auge <raymond.auge@liferay.com> Signed-off-by: Raymond Auge <raymond.auge@liferay.com> Change-Id: Ic2ff6bd6eda8c77e11b990700acffe974475eb09
2016-06-29Bug 416047 - Provide-Capability manifest headers for provided servicesY20160714-1000Y20160707-1000I20160719-0800I20160716-1900I20160712-1000I20160712-0800I20160708-1700I20160705-1600Dirk Fauth1-0/+6
Added the Provide-Capability header for the ConfigurationAdmin implementation. Also added p2.inf files for o.e.equinox.cm, o.e.equinox.http.servlet and o.e.equinox.metatype to be able to specify p2 metadata to be used by the p2 resolver. Change-Id: I5739b4a8414457223b78cd8a93bcd4f31bb45d08 Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2016-06-28 Bug 496465 - Prep for 4.7 (Oxygen) and 4.6.1 (Neon.1) maintenanceThomas Watson1-1/+1
builds Change-Id: If8bccc53b7f4a9466e05262844c9813ea9596167 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-06-23Bug 496669 - [http servlet] update bundle versionRaymond Auge2-2/+2
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-06-23Bug 496669 - [http servlet] overridden special request attributes are not ↵Raymond Auge2-12/+55
safely handled across app servers Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-05-17Bug 493583 - [http] HttpServletResponseWrapperImpl.InternalOutputStream does ↵I20160517-2000Raymond Auge1-0/+10
not forward flush() to originalOutputStream Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-05-13Bug 490608 - [http servlet] simplify, make sure we only wrap once and testI20160516-2000I20160515-2000I20160514-1500I20160513-2000Raymond Auge1-13/+12
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-05-13Bug 490608 - [http servlet] Ignore status code and header change attempts ↵istvansajtos2-2/+132
for include dispatch Signed-off-by: Istvan Sajtos <istvan.sajtos@liferay.com>
2016-04-13Bug 491601 - [http whiteboard] quieter and more informative log messageY20160414-1000Raymond Auge1-1/+7
from failed call to servletContext.getServletRegistration() Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-04-13Bug 491557 - [http whiteboard] prefix the value of the osgi.http.endpoint ↵Raymond Auge1-8/+24
init param with the context path of the current app Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-04-12Bug 476069 - [http servlet] various dispatching fixes including named, error ↵Raymond Auge3-313/+337
handling
2016-04-12Bug 490638 [http whiteboard] Catch exceptions when invoking listener methods ↵Raymond Auge1-1/+15
too so everything cleans up Signed-off-by: Juan Gonzalez <juan.gonzalez@liferay.com>
2016-04-12Bug 490644 [http whiteboard] Pass attribute to parent httpSession if value ↵Raymond Auge1-2/+6
is null, in order to fulfill httpSession.setAttribute API Signed-off-by: Juan Gonzalez <juan.gonzalez@liferay.com>
2016-04-12Bug 491284 - [http whiteboard] reduce GC pressureRaymond Auge1-1/+3
2016-02-17Bug 487944 - [http whiteboard] name only servlets are not supported in the ↵Raymond Auge2-7/+21
whiteboard Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-02-17Bug 475291 - [http servlet] cleanup the internal attributeRaymond Auge1-0/+2
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-02-16Bug 475291 - [equinox jetty] doesn't support the servlet 3.0 multipart APIRaymond Auge12-44/+190
Change-Id: Ibc4f1c1853da57418b47281a2a1da8bea6b414d4 Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-02-14Bug 487627 - [http] IllegalStateException in DispatchTargetsRaymond Auge5-91/+232
Be friendlier to those cases where the stream/writer is not flushed or closed (I think most implementations do this also). Also make a general cleanup and improvement in dispatching, particularly in forward. Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-02-02Bug 486412 - [http whiteboard] fix wrong boolean operator, simplifyI20160209-0800Raymond Auge1-2/+2
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-02-02Bug 486412 - [http whiteboard] don't use hashcode eitherRaymond Auge2-12/+10
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-01-29Bug 486412 - [http whiteboard] don't use classloader for equalsI20160202-1000I20160202-0800Raymond Auge2-22/+27
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2016-01-29Bug 486412 - [http whiteboard] Implement equals and hashCode methods so ↵Juan G1-0/+39
object comparisons give the right result Signed-off-by: Juan Gonzalez <juan.gonzalez@liferay.com>
2016-01-15Bug 485532 - [http whiteboard] Only invoke requestInitialized when ↵Juan G1-6/+6
dispatcher type is REQUEST Signed-off-by: Juan Gonzalez <juan.gonzalez@liferay.com>
2016-01-08Bug 485466 - [http whiteboard] HttpContext attributes are not usedI20160112-0800Thomas Watson1-3/+3
correctly for getAuthType or getRemoteUser Change-Id: I70c78a5bb4610a3fd4c4958e523b8a217a52bd00 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-01-05Bug 485234 - [http whiteboard] FilterRegistration objects are notThomas Watson1-3/+6
cleaned up properly when unregistered Change-Id: I45139c151a34a254e9347d1ac430026a60158018 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2015-10-30Bug 479115 - [http] NPE in ↵I20151103-0800Raymond Auge1-8/+3
HttpServletRequestWrapperImpl.getContextPath/getRequestURI Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-09-07Bug 476808 - [http servlet] not properly handling null parameters in some casesI20150908-0800Raymond Auge1-0/+3
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-28Bug 476136 - [http whiteboard] using legacy servlet registration doesThomas Watson1-6/+6
not allow exact matching to take precidence
2015-08-28Bug 476069 - [http servlet] some attributes are masked by the container, so ↵Raymond Auge1-1/+6
let those fall through
2015-08-27Bug 476069 - [http servlet] named dispatching doesn't follow servlet specRaymond Auge4-129/+280
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-27Bug 476060 - [http servlet] use Servlet API constants for dispatcher request ↵Raymond Auge1-14/+9
attributes
2015-08-27Bug 476051 - [http servlet] rename HttpServletRequestBuilderWrapperImpl to ↵Raymond Auge4-16/+16
HttpServletRequestWrapperImpl Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-27Bug 476046 - [http servlet] cleanupRaymond Auge1-3/+1
2015-08-27Bug 476046 - [http servlet] improve debug-ability and general cleanupRaymond Auge8-20/+46
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-18Bug 474250 - Fix servlet alias unregister to take into account /*Thomas Watson1-7/+7
appending Change-Id: Ia67dd6dbf61c7762c4116122e4697419be6bf81a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2015-08-18Bug 474250 - [http] org.eclipse.equinox.http.registry.filters aliasThomas Watson4-35/+50
matching is broken Change-Id: I52424c6033d2920ab3dd0a503360335c4b736f71 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2015-08-14Bug 467859 - [http whiteboard] review changesI20150818-0800Raymond Auge7-39/+38
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-13Bug 467859 - [http whiteboard] request/response wrappers are not visible ...Raymond Auge9-44/+206
... during later request processing Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-12Bug 467859 - [http whiteboard] request/response wrappers are not visible ...Raymond Auge12-387/+385
... during later request processing Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-08-11Bug 474714 - [http whiteboard] regression in accessing parentThomas Watson2-3/+17
ServletContext init params
2015-08-03Bug 472479 - [http whiteboard] Proxy servlet not properly initialized.I20150805-2000I20150805-0800I20150804-2000I20150804-0800I20150803-2000Thomas Watson1-2/+6
httpServiceRuntimeImpl is null
2015-07-02Bug 471724 - [http.servlet] TCCL is not being kept as expected during ↵Raymond Auge7-24/+25
registration using the HttpService API Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
2015-07-02Bug 469765 - Prep for 4.6 (Neon) and 4.5 (Mars) maintenance buildsThomas Watson1-1/+1
- update parent poms for 4.6

Back to the top