UnittWebSocket (Java) v0.9.2 Available

5 views
Skip to first unread message

Josh Morris

unread,
Oct 9, 2011, 11:17:41 AM10/9/11
to unitt-project
- added support for custom headers
- fixed an error on sending close (could loop in certain situations)
- fixed an error where messages were not being processed if too much
data was sent
- added logic to handle close status & utf8 errors according to draft
spec number

Ivan

unread,
Oct 10, 2011, 7:44:35 AM10/10/11
to unitt-project
Hi Josh,

I could not find the new HandshakeHeader.java class and the
functionality for the support for custom headers in the 0.9.2
artifact. I am using the dependency (as documented in the wiki):

<dependency>
<groupId>com.unitt.framework</groupId>
<artifactId>websocket</artifactId>
<version>0.9.2</version>
<type>jar</type>
</dependency>

However, I can see the HandshakeHeader.h file for the Objective-C
version.

Am I doing something wrong here or the file is simply missing?

Cheers,
Ivan

Ivan

unread,
Oct 10, 2011, 7:48:35 AM10/10/11
to unitt-project
Just to clarify, I can see the HandshakeHeader.h file in the newest
UnittWebSocketClient (iOS) v0.9.4 artifact. I guess the support for
custom headers is included in the Objective-C (v0.9.4) library but not
in the Java (v0.9.2) library.

Cheers,
Ivan

Josh Morris

unread,
Oct 10, 2011, 10:56:30 AM10/10/11
to unitt-project
It should be. I must have completely goofed up the check in. I will
check this evening and get a new build out. Great catch!

Josh Morris

unread,
Oct 10, 2011, 11:06:25 AM10/10/11
to unitt-project
I just double-checked. The class is there:
com.unitt.framework.websocket.HandshakeHeader.java. Can you try again?


Josh

Ivan

unread,
Oct 10, 2011, 11:41:24 AM10/10/11
to unitt-project
Hi Josh,

Nope, I don't find it. Here is my pom:

</dependencies>
...
<dependency>
<groupId>com.unitt.framework</groupId>
<artifactId>websocket</artifactId>
<version>0.9.2</version>
<type>jar</type>
</dependency>

</dependencies>

<repositories>
<repository>
<id>unitt</id>
<name>UnitT Repository</name>
<url>http://unitt.googlecode.com/svn/repository</url>
</repository>
</repositories>

Further more I downloaded the http://unitt.googlecode.com/files/websocket-0.9.2.jar
and I can't find it inside either.

Ivan

Josh Morris

unread,
Oct 11, 2011, 12:07:45 AM10/11/11
to unitt-project
This is more than a bit odd. I can't find it either, but it's there. I
will do a rebuild and resubmit the download. Something got messed up
in the build.

On Oct 10, 9:41 am, Ivan <hristov...@gmail.com> wrote:
> Hi Josh,
>
> Nope, I don't find it. Here is my pom:
>
> </dependencies>
> ...
>                 <dependency>
>                         <groupId>com.unitt.framework</groupId>
>                         <artifactId>websocket</artifactId>
>                         <version>0.9.2</version>
>                         <type>jar</type>
>                 </dependency>
>
> </dependencies>
>
>         <repositories>
>                 <repository>
>                         <id>unitt</id>
>                         <name>UnitT Repository</name>
>                         <url>http://unitt.googlecode.com/svn/repository</url>
>                 </repository>
>         </repositories>
>
> Further more I downloaded thehttp://unitt.googlecode.com/files/websocket-0.9.2.jar

Josh Morris

unread,
Oct 16, 2011, 4:36:57 PM10/16/11
to unitt-project
I will get a new build out this coming week. Sorry for the delay, but
work got crazy!
Reply all
Reply to author
Forward
0 new messages