On Fri, Oct 30, 2020 at 3:45 AM Greg Wilkins wrote:
>
> So wrote this test code:
>
> public void testEtag()
> {
> HttpFields fields = new HttpFields();
> fields.add("ETag", "W/\"1\",W/2");
> fields.add("ETag", "W/\"3\"");
>
>
oted-string either, as it
> doesn't start with DQUOTE.
>
> If your example was ...
>
> If-Match: "W/ab35ef1bc78", "W/5be73a9c523"
>
> Then you would satisfy the quoted-string rules. (as the "/" is %x2F and
> within the allowed qdtext definition).
al case handling for
> field-value in the spec is `Set-Cookie`.
> See: https://tools.ietf.org/html/rfc7230#section-3.2.2
>
> - Joakim
> Joakim Erdfelt / joa...@webtide.com
>
>
> On Thu, Oct 29, 2020 at 9:47 AM Nils Kilden-Pedersen
> wrote:
>
>> Yes, that's my
Yes, that's my point. ETags *require* quotes, but they're being removed.
On Thu, Oct 29, 2020 at 9:25 AM Tamás Cservenák wrote:
> To me it seems does requite DQUOTE around it...
> https://tools.ietf.org/html/rfc7232#section-2.3
>
> Thanks
> T
>
> On Thu, Oct 29, 2020 a
After debugging for a weird problem the entire day yesterday, I finally
figured out why my ETag value was losing its quotes. For some reason, the
innocently sounding HttpField.getValues apparently (needlessly?) appears to
assume that comma separated header values might be quoted (not sure why, I
The websocket classes are in the Maven group org.eclipse.jetty.websocket.
https://search.maven.org/search?q=g:org.eclipse.jetty.websocket
On Sun, May 24, 2020 at 12:23 PM Johan Van Noten wrote:
> My intent:
>
> I have an existing Eclipse RCP application.
>
> I would like to interact with it
roblem with getting gRPC to work natively in
browsers?
>
> Joakim Erdfelt / joa...@webtide.com
>
>
> On Tue, Nov 12, 2019 at 8:26 AM Nils Kilden-Pedersen
> wrote:
>
>> I did try that, but it failed:
>>
>> java.lang.IllegalStateException: s=HANDLING rs
On Tue, Nov 12, 2019 at 8:44 AM Simone Bordet wrote:
> Hi,
>
> On Tue, Nov 12, 2019 at 3:26 PM Nils Kilden-Pedersen
> wrote:
> >
> > I did try that, but it failed:
> >
> > java.lang.IllegalStateException: s=HANDLING rs=BLOCKING os=OPEN is=RE
I can't seem to find much information on how to code async filters.
Basically, how do I know when the filter chain has completed? I need to set
a cookie, but only at the very end of the request.
Thanks,
___
jetty-users mailing list
Thanks, done.
https://github.com/eclipse/jetty.project/issues/3604
On Fri, Apr 26, 2019 at 1:53 PM Simone Bordet wrote:
> Hi,
>
> On Fri, Apr 26, 2019 at 4:15 PM Nils Kilden-Pedersen
> wrote:
> >
> > Sure. Link?
>
> https://github.com/eclipse/jetty.project
Sure. Link?
On Sat, Apr 20, 2019 at 4:36 AM Simone Bordet wrote:
>
> Can you please file an issue with the content of your first email, so
> that we have your analysis in the issue?
>
> Thanks!
>
> --
> Simone Bordet
>
> http://cometd.org
> http://webtide.com
> Developer advice, training,
Any plans to support QUIC, or HTTP/3?
___
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users
Take a look at org.eclipse.jetty.server.handler.SecuredRedirectHandler
On Fri, Oct 13, 2017 at 4:14 PM, Pankaj K Garg wrote:
> Hi,
>
> I'm looking for a simple way of re-directing all HTTP traffic to HTTPS,
> and all non-www.domain.com to www.domain.com.
>
> From Googling
context, and we do make effort
>> in other parts of the code to handle no context. So we will fix this
>> if you open an issue for it, that will help remind us to do so.
>>
>> cheers
>>
>>
>> On 21 September 2017 at 06:22, Nils Kilden-Pedersen <nil...@gmail.com
Seems I’m able to get this working by using a ServletContextHandler instead
of ServletHandler, which I’m currently using, and also instead of going
full web-app using WebAppContextHandler.
On Wed, Sep 20, 2017 at 2:51 PM, Nils Kilden-Pedersen <nil...@gmail.com>
gt; A bit drastic to run without a context just to avoid the "NO JSP Support
> for ..." message.
>
> It's easy enough to provide your own webdefault.xml that has no jsp
> servlet entry to avoid that message.
>
>
> Joakim Erdfelt / joa...@webtide.com
>
> On Wed, Sep 2
Not sure if this will be considered a bug or not.
For a long time I've been using Jetty embedded without a Context (primarily
because I don't want the JSP warning), and using async servlets.
A change in 9.4.7 broke this:
https://github.com/eclipse/jetty.project/commit/
WebSockets, like any TCP connection, is prone to timeouts of various sorts,
partially depending on your network.
One way to handle this, is to send out periodic heartbeats. Our setup sends
a single byte every 10 seconds to verify the connection.
Beyond that, I believe there's some Jetty timeout
Just saw Joakim beat me by 12 minutes. Damn you Gmail for your slow updates.
On Fri, Feb 6, 2015 at 9:20 AM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
The docs for available states that it’s “*an estimate of the number of
bytes that can be read (or skipped over) from this input stream
The docs for available states that it’s “*an estimate of the number of
bytes that can be read (or skipped over) from this input stream without
blocking by the next invocation of a method for this input stream*“, so
that should be expected.
Assuming your servlet is async, you should probably call
- cometd.org
On Wed, Oct 8, 2014 at 11:35 AM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
On Wed, Oct 8, 2014 at 1:26 PM, Joakim Erdfelt joa...@intalio.com
wrote:
While its true that request / thread processing on ProxyServlet is async.
The I/O isn't.
The AsyncProxyServlet uses servlet Async I
On Wed, Oct 8, 2014 at 1:26 PM, Joakim Erdfelt joa...@intalio.com wrote:
While its true that request / thread processing on ProxyServlet is async.
The I/O isn't.
The AsyncProxyServlet uses servlet Async I/O techniques properly and also
ties together the I/O between the servlet and client
, Jan Bartel j...@intalio.com wrote:
Nils,
Try:
http://www.eclipse.org/jetty/documentation/current/hot-deployment.html
Jan
On 11 May 2014 23:12, Nils Kilden-Pedersen nil...@gmail.com wrote:
I’ve noticed that, during development, whenever I save a file, e.g. a
Javascript file, Jetty restarts
select
more files to ignore for redeployment (ie .html, .css, js etc etc) ...
Jan
On 11 May 2014 23:12, Nils Kilden-Pedersen nil...@gmail.com wrote:
I’ve noticed that, during development, whenever I save a file, e.g. a
Javascript file, Jetty restarts the context. In the logs it looks like
, Nils Kilden-Pedersen nil...@gmail.com wrote:
On Mon, May 12, 2014 at 9:06 AM, Jan Bartel j...@intalio.com wrote:
Nils,
For development, many people choose to use maven. In which case, they
use the jetty-maven-plugin, which is specifically set up to do hot
replacement of files. Static
enable recursion to trigger class file changes?
(BTW, I'm not using a war for development)
Jan
On 12/05/2014, Nils Kilden-Pedersen nil...@gmail.com wrote:
On Mon, May 12, 2014 at 10:07 AM, Jan Bartel j...@intalio.com wrote:
Nils,
If you're using the jetty-maven-plugin, you
I’ve noticed that, during development, whenever I save a file, e.g. a
Javascript file, Jetty restarts the context. In the logs it looks like this:
302582 [Scanner-0] INFO
org.eclipse.jetty.server.handler.ContextHandler - Stopped
I recently upgraded to 9.1.5 on my dev box and just noticed that all my
.css and .js files are being served as text/html.
I then checked the webdefault.xml and could see that the usual MIME
mappings are moved to a mime.properties file, supposedly in
the org.eclipse.jetty.server.jar file, however
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433321
On Thu, Apr 17, 2014 at 8:49 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Should I open a bug report?
On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen
nil...@gmail.comwrote:
Sorry about the delay.
I tried this on 9.1.4
Jan, can you reproduce with what I provided?
On Sun, Apr 6, 2014 at 8:06 PM, Jan Bartel j...@intalio.com wrote:
Hi Nils,
Can you make a really simple test that reproduces?
regards
Jan
On 6 April 2014 04:18, Nils Kilden-Pedersen nil...@gmail.com wrote:
I suspect this is a race
on the async context...or try
asyncContext.getServletRequest().getContextPath(); though not sure
that should work for that use case
--
jesse mcconnell
jesse.mcconn...@gmail.com
On Thu, Apr 17, 2014 at 8:49 AM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
Should I open a bug report?
On Tue, Apr
Should I open a bug report?
On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Sorry about the delay.
I tried this on 9.1.4 and got the same problem.
This servlet:
@WebServlet(asyncSupported=true, urlPatterns={/hello})public class
MyServlet extends
?
regards
Jan
On 6 April 2014 04:18, Nils Kilden-Pedersen nil...@gmail.com wrote:
I suspect this is a race condition related to async. If the Request
object
(or by extension HttpConnection), it looks like the context path (and
other
mutable variables) are being set/reset to null, possibly
BTW, the sleep doesn't seem to affect this one way or the other.
On Tue, Apr 15, 2014 at 11:36 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Sorry about the delay.
I tried this on 9.1.4 and got the same problem.
This servlet:
@WebServlet(asyncSupported=true, urlPatterns={/hello})public
. Can you reliably
reproduce with the test webapp?
Jan
On 5 April 2014 14:05, Nils Kilden-Pedersen nil...@gmail.com wrote:
When running in the root context, request.getContextPath() returns null
rather than as expected.
http://docs.oracle.com/javaee/6/api/javax/servlet/http
this.
On Sat, Apr 5, 2014 at 9:00 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Here are some characteristics of my app:
-
Jetty 9.1.2
-
Windows 8.1, haven’t yet tried on Linux (probably not relevant)
- App is a folder in webapps named ROOT
- There’s no xml descriptor
When running in the root context, request.getContextPath() returns
nullrather than
as expected.
http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getContextPath(
)
This is on 9.1.2.
___
jetty-users mailing list
We just hit this and I'm unsure how to work around it (short of disabling
gzipping).
https://bugs.eclipse.org/bugs/show_bug.cgi?id=423392
What's the status? Last question asks if the fix was indeed included in
9.1.2, but it went unanswered.
___
Whether or not it should be seamless, 404 seems infinitely worse than 500.
On Fri, Mar 14, 2014 at 8:56 AM, Robert Nikander rob.nikan...@gmail.comwrote:
Upgrading to Jetty 9.1.3 fixed the NullPointerExceptions. But now,
instead of the 500 error, I get a 404 not found error for a second while
On Mon, Feb 3, 2014 at 5:44 PM, Petar Tahchiev paranoia...@gmail.comwrote:
I just tested it and I see the same result :(
Do you know where is the table with JVM version - npn boot version.
http://www.eclipse.org/jetty/documentation/current/npn-chapter.html#npn-versions
I will try to test
What about Java 8?
On Fri, Jan 17, 2014 at 1:49 AM, Simone Bordet sbor...@intalio.com wrote:
Hi,
On Fri, Jan 17, 2014 at 8:13 AM, Peter Ondruška
peter.ondruska+je...@kaibo.eu wrote:
Hello,
I just updated my OSX JRE to 1.7.0_51 and with Jetty 9.1.1.v20140108 I
get
this:
and support from from the Jetty CometD experts
eclipse.org/jetty - cometd.org
On Sun, Dec 29, 2013 at 9:14 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
On Sun, Dec 29, 2013 at 12:47 PM, Nils Kilden-Pedersen
nil...@gmail.comwrote:
On Sun, Dec 29, 2013 at 12:54 AM, Joakim Erdfelt joa
Erdfelt joa...@intalio.com
webtide.com http://www.webtide.com/ - intalio.com/jetty
Expert advice, services and support from from the Jetty CometD experts
eclipse.org/jetty - cometd.org
On Sat, Dec 28, 2013 at 12:57 PM, Nils Kilden-Pedersen
nil...@gmail.comwrote:
I wanted to reuse
On Fri, Oct 4, 2013 at 2:50 PM, Joakim Erdfelt joa...@intalio.com wrote:
We are pleased to announce the immediate availability of the first release
candidate for Jetty 9.1
Jetty 9.1.0.RC0
Distribution Downloads:
http://download.eclipse.org/jetty/stable-9/dist/
The artifacts are also
On Fri, Oct 4, 2013 at 3:30 PM, Joakim Erdfelt joa...@intalio.com wrote:
On Fri, Oct 4, 2013 at 1:25 PM, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
On Fri, Oct 4, 2013 at 2:50 PM, Joakim Erdfelt joa...@intalio.comwrote:
We are pleased to announce the immediate availability
On Sun, Sep 29, 2013 at 11:36 AM, potter_ru igor.potery...@gmail.comwrote:
Hmm. I was wrong about root cause of our problem with stucked threads.
When i compared state of one thread qtp448926252-1848 in two threads
dumps
taken in two days interval, i found that thread was stucked
in
2013 11:58, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
On Sat, Sep 7, 2013 at 8:54 PM, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
On Sat, Sep 7, 2013 at 6:49 PM, Joakim Erdfelt joa...@intalio.com
wrote:
That is a bug, and should be fixed.
However, Servlet Spec
I can add that the filter is running with url-pattern /* and with a
virtual host (sub domain). Not sure if that explains anything.
On Sat, Sep 7, 2013 at 5:07 PM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
This is 9.0.5.
I'm having an issue with an infinite loop in a filter.
I assume
I‘m using a global error page, but I still get Jetty’s 404 page.
error-page
location/error/location/error-page
I was expecting this to be used for anything (works as expected on
exceptions).
BTW, it's 9.0.5
___
jetty-users mailing list
on the @WebFilter annotation. It‘s not clear to me if it’s
correct behavior to have the filter invoked twice (in the chain twice) when
there's an overlap between servlet names and url patterns.
On Sat, Sep 7, 2013 at 5:07 PM, Nils Kilden-Pedersen nil...@gmail.comwrote:
This is 9.0.5.
I'm having
I think.
Got hit with a StringIndexOutOfBounds something.
Tracked it to line 404 (yeah, really) in PathMap:
char c = pathSpec.charAt(0);
Since Servlet spec 3.0, empty strings matches on the context root. I had
a filter defined with urlPatterns={}.
I can‘t quite figure out the validity of
This is 9.0.5.
I'm having an issue with an infinite loop in a filter.
I assume this is a bug, but I don't know enough about the Jetty internals
to say where exactly.
Basically, my code (the Filter) wraps the request using
HttpServletRequestWrapper and then calls chain.doFilter(wrappedRequest,
experts
eclipse.org/jetty - cometd.org
On Sat, Sep 7, 2013 at 12:38 PM, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
I think.
Got hit with a StringIndexOutOfBounds something.
Tracked it to line 404 (yeah, really) in PathMap:
char c = pathSpec.charAt(0);
Since Servlet spec 3.0
On Sat, Sep 7, 2013 at 8:54 PM, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
On Sat, Sep 7, 2013 at 6:49 PM, Joakim Erdfelt joa...@intalio.com wrote:
That is a bug, and should be fixed.
However, Servlet Spec 3.1 pretty much banned as a path spec (stating
it as a mistake of past
On Tue, Aug 20, 2013 at 7:19 PM, Joakim Erdfelt joa...@intalio.com wrote:
Access to the HttpServletRequest is discouraged, as not all mechanisms for
creating a WebSocket will even have a HttpServletRequest.
(Various muxed websocket connection techniques like WebSocket over SPDY
and even the
On Wed, Aug 21, 2013 at 12:23 PM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
On Tue, Aug 20, 2013 at 7:19 PM, Joakim Erdfelt joa...@intalio.com wrote:
Access to the HttpServletRequest is discouraged, as not all mechanisms
for creating a WebSocket will even have a HttpServletRequest
On Wed, Aug 21, 2013 at 1:12 PM, Joakim Erdfelt joa...@intalio.com wrote:
You have 2 different ways. Depending on your choice of websocket use.
Jetty 9.1 WebSocket API technique:
And when can we expect to see 9.1.0?
___
jetty-users mailing list
Trying once more. Presumably this is documented somewhere I haven't been
able to find.
On Mon, May 27, 2013 at 8:34 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Could someone comment on how Jetty9 handles websockets, from a design
perspective? I'm thinking primarily about resource
and support
from the Jetty CometD experts
eclipse.org/jetty - cometd.org
On Thu, May 30, 2013 at 5:51 AM, Nils Kilden-Pedersen nil...@gmail.comwrote:
Trying once more. Presumably this is documented somewhere I haven't been
able to find.
On Mon, May 27, 2013 at 8:34 AM, Nils Kilden-Pedersen
nil
Could someone comment on how Jetty9 handles websockets, from a design
perspective? I'm thinking primarily about resource consumption, such as
memory usage per connection, number of threads and any (non-) blocking
behavior, etc.
Thanks,
Nils
___
Since Jetty9 requires Java7, maybe it'd be a good idea to use the new
try-with-resources statement more places?
On Thu, May 23, 2013 at 3:31 PM, Craig Ching craigch...@gmail.com wrote:
Should the FileChannel in BufferUtil.readFrom() be closed?
public static void readFrom(File file,
On Thu, May 23, 2013 at 4:39 PM, Craig Ching craigch...@gmail.com wrote:
Closing that FileChannel definitely resolves this on Windows. I'll put it
into the bug report.
On Thu, May 23, 2013 at 4:26 PM, Nils Kilden-Pedersen
n...@kilden-pedersen.net wrote:
Since Jetty9 requires Java7
: (+972) (0) 2-589-4919
M: (+972) (0) 54-566-4919
** **
*From:* jetty-users-boun...@eclipse.org [mailto:
jetty-users-boun...@eclipse.org] *On Behalf Of *Nils Kilden-Pedersen
*Sent:* Monday, May 06, 2013 16:06
*To:* JETTY user mailing list
*Subject:* Re: [jetty-users] Jetty and Scala
as expected already in Jetty 9.0.0.RC0
--
Joakim Erdfelt joa...@intalio.com
webtide.com http://www.webtide.com/
Developer advice, services and support
from the Jetty CometD experts
eclipse.org/jetty - cometd.org
On Mon, Feb 18, 2013 at 12:16 PM, Nils Kilden-Pedersen
nil
According to the wiki[1], the web sockets classes are part of the default
system classes. Yet for as long as I can remember, trying to use the web
sockets classes, leads to this exception:
java.lang.NoClassDefFoundError:
org/eclipse/jetty/websocket/WebSocketServlet
Is this a long-standing bug,
- cometd.org
On Mon, Feb 18, 2013 at 10:31 AM, Nils Kilden-Pedersen
nil...@gmail.comwrote:
According to the wiki[1], the web sockets classes are part of the default
system classes. Yet for as long as I can remember, trying to use the web
sockets classes, leads to this exception
as a filter.
You may want to provide more info of what you need to do.
On Feb 7, 2013 7:19 PM, Nils Kilden-Pedersen nil...@gmail.com wrote:
Is it possible to configure application based authentication without
having access to the server installation, i.e. only through the war file
be of more help.
On Sun, Feb 10, 2013 at 3:15 PM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
I'd like to be able to use the tools provided by the servlet spec, such
as
getUserPrincipal, isUserInRole, etc. on HttpServletRequest and use the
HttpConstraint annotation, but without having
CometD experts
eclipse.org/jetty - cometd.org
On Sun, Feb 10, 2013 at 2:22 PM, Nils Kilden-Pedersen nil...@gmail.comwrote:
On Sun, Feb 10, 2013 at 4:10 PM, larry mccay larry.mc...@gmail.comwrote:
I'm still a little confused about your usecase - what are planning to
authenticate against if you
On Sun, Feb 10, 2013 at 4:54 PM, larry mccay larry.mc...@gmail.com wrote:
The EE specs are about an application programming model that is built
on top of a platform with a built-in security foundation. I don't
really agree with everything that was put into web.xml for security
but I do feel
Is it possible to configure application based authentication without having
access to the server installation, i.e. only through the war file?
___
jetty-users mailing list
jetty-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/jetty-users
I see. Good to know.
On Tue, Jan 29, 2013 at 9:29 AM, Simone Bordet sbor...@intalio.com wrote:
Hi,
On Mon, Jan 28, 2013 at 3:38 PM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
I'm wondering though. Even with async, your request is never handled by
more
than a single thread at a time
.
Am 1/25/13 8:36 PM, schrieb Simone Bordet:
Hi,
On Fri, Jan 25, 2013 at 4:20 PM, Nils Kilden-Pedersen nil...@gmail.com
wrote:
I have some questions on async servlets and I figured this forum would
be as
good as any.
I've done servlet programming for quite a few years, and I've always
Any reason org.eclipse.jetty.servlets.EventSourceServlet isn't included in
the distribution?
___
jetty-users mailing list
jetty-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/jetty-users
I'm doing the same thing, which works fine on Win7/Jetty8.
But when I had a developer do the same thing on a Mac, he got the exact
problem you describe.
On Mon, Dec 3, 2012 at 3:07 PM, Tom Farrar tom.farra...@gmail.com wrote:
Hi All,
I've recently been testing upgrading from Jetty 6 to 8.
On Tue, Dec 4, 2012 at 12:26 PM, Otis Gospodnetic
otis.gospodne...@gmail.com wrote:
Hi,
I was looking for information about Jetty Hightide and was unable to find
out if Jetty Hightide is something that belongs to the past, or if Jetty
Hightide is a packaging of Jetty that is still
76 matches
Mail list logo