Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 21:40:48 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        "java@freebsd.org" <java@freebsd.org>
Subject:   http over ssl gives an empty map of headerFields
Message-ID:  <op.syjsya2j8527sy@outgoing.local>

next in thread | raw e-mail | index | archive | help
Hello,

I'm trying to run an application which makes a connection over ssl. It  
retreives some fields using the method  
HttpUrlConnection.getHeaderFields(). But this returns an empty Map. If I  
run the same program on a Linux machine with Sun JDK 1.5 it runs very well  
and get some headerfields (which are important for the application).

My system is.
$ uname -a
FreeBSD guido.klop.ws 6.0-RC1 FreeBSD 6.0-RC1 #0: Tue Oct 11 00:29:56 CEST  
2005     root@guido.klop.ws:/usr/obj/usr/src/sys/GUIDO  i386

$ java -version
java version "1.5.0-p2"
Java(TM) 2 Runtime Environment, Standard Edition (build  
1.5.0-p2-root_06_oct_2005_21_46)
Java HotSpot(TM) Client VM (build 1.5.0-p2-root_06_oct_2005_21_46, mixed  
mode)

If I can find the time I will try to create a better testcase, but maybe  
it is a known problem and somebody knows how to fix this.

Ronald.

-- 
  Ronald Klop
  Amsterdam, The Netherlands



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.syjsya2j8527sy>