reger
b75e92aac3
add read queryparameter in gsaservlet
11 years ago
reger
1e94719084
fix NPE on mime detection of unknown file extension
11 years ago
reger
26bb1e37b7
implement core selection in SolrServlet
...
- making initcore() obsolete
11 years ago
reger
444a9ae674
remove unused options and attributes from DefaultServlet
...
cleanup obsolete class files
11 years ago
reger
b1dc9a6f52
- disable Jetty servlet defaultUseCache (prevent double caching)
...
- include short memory status check for class cache in DefaultServlet
- remove obsolete Resource interface for Jetty8YaCyDefaultServlet
11 years ago
reger
94293176a3
use writeOptionHeaders with ServletResponse parameter only
11 years ago
reger
b26787dc2d
- DefaultServlet: remove static gzip option
...
YaCy doesn't use pre-gzip'ed static html pages
- ProxyServlet: remove not neede procedure
- Server init: skip one overlaping servlet context
11 years ago
reger
b29d262e70
implement Jetty8HttpServerImpl.generateSocketAddress
...
(code 1:1 copied from serverCore)
11 years ago
reger
1437c45383
merge rc1/master
11 years ago
reger
082c9a98c1
move writeHeaders from Jetty8 servlet to YaCyDefaultServlet
...
- after removing Jetty server dependency (of Response using HttpServletResponse only)
11 years ago
reger
de1f02420b
implement HtmlResponseWriter to solrServlet (and rss / opensearch responswriter) as in yacy select servlet.
...
- set contenttype of HTLM/GrepHTML-Reponsewriter to "text/html"
- set a contenttype to GSAsearchServlet
11 years ago
reger
bfdb404867
implement a Jetty reconnect to work with Configbasic_p.html port change
...
- instead of shutting down the server it should be sufficient to manipulate the Jetty http connector
11 years ago
reger
d6760df3e5
fix servlet class exist check to use default path only (in Jetty8YaCyDefaultServlet)
...
- del redundant doget code in yacydefaultservlet
- small declaration code opts
- del obsolete libt/proxyservlet.java
11 years ago
reger
6944225037
- add GSA search /gsa/search servlet for Jetty to Server init
...
- include SecurityHandler check for /gsa/ /solr/
- change one more YaCyDefaultServlet dependency from Jetty to std. javax.Servlet
11 years ago
reger
53cb30a221
reduce logging (by assigning logger to existing logger)
...
- small additional cleanups
11 years ago
reger
332c6d4fe1
reactivate Domain handler for .yacy / .yacyh handling
11 years ago
reger
06da6f517c
add YaCyProxyServlet to handle /proxy.html?url=proxyurl
...
- based on Jetty ProxyServlet
- at this time use existing HTTPD ProxyHandler for url rewrite
- add jetty-client jar (dependency in Jetty ProxyServlet)
reuse ProxyHandler.convertHeaderFromJetty in YaCyDefaultServlet
11 years ago
reger
cb2dbcb843
add graceful Jetty shutdown option
...
- as Jetty stop is not synced, yet
- include jetty jars and servlet-3.0 api jar in Eclipse .classpath
11 years ago
reger
da4ff5aefa
add YaCy HttpCommand "authenticate" check to DefaultServlet
11 years ago
reger
77a73c7475
add YaCy HttpCommand "location" check to DefaultServlet
11 years ago
reger
cc223b14a4
remove wrong content mod in SSI parser for virtual path /currentyacypeer/
...
(is handled on start of request handling)
11 years ago
reger
5606291574
fix last commit (not needed test of GZipInputStream)
11 years ago
reger
f9eed8cb44
add support for gzip encoded multipart forms (needed for transferRWI.html)
...
- quick and dirty reuse of existing HTTPDemon implementation
11 years ago
reger
cf32a92629
- add size check to multipart form data handling of YaCyDefaultServlet (same as in HTTPDemon.parseMultipart)
...
- reduce Jetty logging
- give build.run a bit more memory (set to YaCy.default 600m from 512m)
11 years ago
reger
705f147820
- add localpeername.yacy to list of local address detection for AbstractRemoteHandler
...
- use proxy via header info as in legacy proxy handler
11 years ago
reger
2226189743
disable domainhandler due to error
...
- domainhandler causes closed response output stream in following handlers
on addresses resolved to local peer (like in hello protocoll preventing peer to switch to senior peer)
11 years ago
reger
eea504c117
update Info.plist
...
small DefaultServlet refactoring
11 years ago
reger
54a0272338
searchpage javascript (latestinfo) causes reset of search statistic after moving to next page
...
- disabled call via setTimeout in yacysearch.html
11 years ago
reger
71d2655c02
downgrade to Jetty 8 to assure support of JRE 1.6
...
- introduce a YaCyHttp interface to modulize/separate http server
- adjust the Jetty version specific implementation part (in package net.yacy.http)
- putting the version specific code in classes starting with Jetty8xxxx
- moved existing Jetty9xxx implementation into a test class (to keep the code)
- adjust build to the changed jars
- make use of the introduced YaCyHttpServer interface in related htroot servlets
- adjust other test cases/classes
11 years ago
reger
daebeb93aa
add call to AccessTracker to jetty security handler
11 years ago
reger
172aefaeeb
adjust YaCySecurityHandler to Jetty 9 conventions
...
- mainly adjust prepareConstraintInfo to use the RoleInfo.setChecked as in Jetty Source distribution
- use constraint check behavior as in ConstraintSecurityHandler
see http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java?id=jetty-9.0.5.v20130813
11 years ago
reger
6f9ed439d3
- expand localHostName check of AbstractRemoteHandler
...
to pevent request is handled as proxy request
- make domain handler not relay on included path in resolved .yacy address
11 years ago
reger
561ea135af
fix : forgot adding security handler
11 years ago
reger
272b196d05
update Jetty server init() to activate yacy-domain and transparent proxy handler
...
- adding domain & proxy handler to a context (as it was in inital design)
(context required for dispatcher)
- make handler context and servlet context parallel available
(to allow use of YaCyDefaultServlet to handle legacyServlets)
- set transparent proxy request handled after dispatch.forward to skip further handling for .yacy domain requests
11 years ago
reger
66145a0410
- add welcome file (index.html) support to YaCyDefaultServlet
...
- change SolrServlet default search field (&df) to text_t
11 years ago
reger
ab9583d429
add default field (&df) to SolrServlet query if missing
11 years ago
reger
52dd491c04
fix not necessary use of DigestURL
11 years ago
reger
5111841e5b
- reduce Jetty debug logging
...
- fix Context path initialization
11 years ago
reger
bc6ebb3c06
adjust to DigestURI changes from master to DigestURL
11 years ago
reger
561cbc7ee2
use more YaCy HeaderFramework constants (instead of Jetty's)
11 years ago
reger
4b77733e59
implement a YaCyDefaultServlet to handle YaCy-servlets within Jetty server
...
- the implementation is inspired by Jetty's DefaultServlet
- handles static html content and YaCy servlets
- translates between standard servlet request/response and YaCy request/response specification
With the implementation of YaCy-servlets as servlet instead via a jetty handler it's closer to servlet standard and carries less jetty specific dependencies.
11 years ago
reger
9619b8743c
add Solr Servlet
11 years ago
reger
f7f86d8a5d
update to Jetty 9 jars
...
- include javax.servlet 3.0
11 years ago
reger
bd71b14d25
add mandatory p2p parameter to templatePattern
11 years ago
reger
b8da176c5d
adjust setHandled to request of call parameter
11 years ago
reger
127adbf5cf
remove references to 10_http thread (legacy http server)
...
and add needed get/set function to jetty http server wrapper
11 years ago
reger
36b7159282
- remove double initialization of jetty
...
- refactor some var assignments
11 years ago
reger
2ee68f76f6
added read parameter from multi-part form fields (to nasty quick-fix)
11 years ago
reger
105cf8f593
changes to adjust jetty to recent code changes
11 years ago
Michael Peter Christen
2f46085be0
more logging
13 years ago
Michael Peter Christen
65f56b1fd4
Merge branch 'master' of ssh://gitorious.org/yacy/rc1 into jetty
...
Conflicts:
.classpath
build.xml
htroot/Status.java
source/de/anomic/http/server/HTTPDProxyHandler.java
source/net/yacy/yacy.java
13 years ago
Florian Richter
965aac5ebb
* proxy works almost
14 years ago
Florian Richter
13724ddd43
* caching in proxy
14 years ago
Florian Richter
b6d67507db
* implement proxy
14 years ago
Florian Richter
351d264a48
* yacy domain handler for jetty
...
* rewrite from / to /index.html
14 years ago
Florian Richter
f25cc4407d
* authentication complete (using old credentials from config file)
14 years ago
Florian Richter
7cfd3762d9
* authentication implemented with own securityhandler
14 years ago
Florian Richter
68ca0fbb2e
* add copyright info
...
* implement basic authentication
* update jetty to 7.3.0
14 years ago
Florian Richter
ed3bcfaf71
* SSI work with jetty, it's pretty usable now
14 years ago
Florian Richter
2d2df64870
* jetty works for many pages now
14 years ago
Florian Richter
1989ba64c0
* jetty
14 years ago