1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-27 04:22:07 +03:00
Commit Graph

313 Commits

Author SHA1 Message Date
Jake Wharton
8f586ba7c5 Merge pull request #186 from square/pforhan/java5
Replace String.isEmpty() calls with Java 5 methods
2013-05-10 07:40:58 -07:00
Patrick Forhan
70e13c131c Replace String.isEmpty() calls with Java 5 methods 2013-05-10 09:32:57 -05:00
jwilson
3ba54eed34 Bump the minimum MTU up to 1KiB.
If anyone is getting -1 from getMtu, we should give them a more
reasonable default.
2013-05-10 09:06:03 -04:00
Jesse Wilson
c5f94794fa Merge pull request #185 from square/jwilson/clamp_mtu
Clamp the MTU to a reasonable range.
2013-05-10 05:56:01 -07:00
jwilson
bb1b1a2c5c Clamp the MTU to a reasonable range.
https://github.com/square/okhttp/issues/183
2013-05-10 08:53:25 -04:00
Jake Wharton
8bf24a570c Merge branch 'master' of https://github.com/square/okhttp 2013-05-07 10:26:41 -07:00
Jake Wharton
570385f29a Remove javadoc zip from website directory. 2013-05-07 10:26:37 -07:00
Jake Wharton
8cb0fc7fc2 Merge pull request #178 from square/jwilson/javadocs
Hide internal from Javadocs
2013-05-07 08:38:30 -07:00
jwilson
5345c1ab20 Hide internal from Javadocs 2013-05-07 11:20:02 -04:00
Jesse Wilson
1dc3d4b1f8 Merge pull request #176 from square/jwilson/link
Link to the new OkHttp website.
2013-05-06 22:14:07 -07:00
jwilson
fcf3264d4d Link to the new OkHttp website. 2013-05-07 01:13:17 -04:00
Jesse Wilson
f4d414a8ca Merge pull request #174 from square/jw/apache-tests
Add some tests for the Apache wrapper.
2013-05-06 19:18:47 -07:00
Jake Wharton
7f4d253579 Add some tests for the Apache wrapper. 2013-05-06 16:53:59 -07:00
Jake Wharton
e5fc585341 Move analytics outside jQuery deferred block. 2013-05-06 15:29:57 -07:00
Jake Wharton
c9e5bed993 Website analytics. 2013-05-06 15:25:30 -07:00
Jake Wharton
c34f66895f Link to topic in G+ community. 2013-05-06 10:48:35 -07:00
Jake Wharton
8eda9900b5 Grab the latest javadoc when deploying the website. 2013-05-06 09:49:52 -07:00
Jake Wharton
b5ee64926d Style tweaks to Maven config. 2013-05-06 09:24:37 -07:00
Jake Wharton
d49ddf3414 [maven-release-plugin] prepare for next development iteration 2013-05-06 09:19:55 -07:00
Jake Wharton
66544feab6 [maven-release-plugin] prepare release parent-1.0.1 parent-1.0.1 2013-05-06 09:19:41 -07:00
Jesse Wilson
3725b3d1cc Merge pull request #172 from square/jw/casing
Jw/casing
2013-05-06 09:09:01 -07:00
Jake Wharton
eb5e72280b Use consistent camel casing of 'SSL'. 2013-05-06 09:05:09 -07:00
Jake Wharton
ae9d97110b Revert "Consistent casing of 'SSL' in method names."
This reverts commit ea4297ded7.
2013-05-06 08:59:20 -07:00
Jake Wharton
bd2cac58f3 [maven-release-plugin] prepare for next development iteration 2013-05-06 07:01:00 -07:00
Jake Wharton
d95ecff542 [maven-release-plugin] prepare release parent-1.0.0 parent-1.0.0 2013-05-06 07:00:47 -07:00
Jake Wharton
8f988a303b Auto-version submodules. 2013-05-06 06:59:26 -07:00
Jake Wharton
25264fa6b7 Add change log. 2013-05-06 06:54:38 -07:00
Jake Wharton
aa5b82378d Merge branch 'master' of https://github.com/square/okhttp 2013-05-05 23:31:51 -07:00
Jesse Wilson
02864cb742 Merge pull request #170 from square/jw/casing
Consistent casing of 'SSL' in method names.
2013-05-05 23:28:35 -07:00
Jake Wharton
ea4297ded7 Consistent casing of 'SSL' in method names. 2013-05-05 23:24:26 -07:00
Jake Wharton
37a513bbdb OCD 2013-05-05 21:57:55 -07:00
Jake Wharton
43c55e393b Checkstyle fixes. 2013-05-05 21:19:08 -07:00
Jake Wharton
ffebb801bd Merge branch 'master' of https://git.squareup.com/io2013/okhttp 2013-05-05 15:14:54 -07:00
Jake Wharton
9f092066d8 Merge branch 'master' of https://github.com/square/okhttp 2013-05-05 15:14:40 -07:00
Jake Wharton
58d0b230d1 Merge pull request #2 from io2013/jwilson/overview_examples
Overview for the OkHttp website.
2013-05-05 20:35:20 +00:00
Jesse Wilson
a3440ba59e Merge pull request #169 from square/jwilson/new_mockwebserver
Use the latest mockwebserver
2013-05-05 10:54:21 -07:00
Jesse Wilson
98f45c2298 Merge pull request #168 from square/jwilson/daemons
Use daemon threads in the connection pool.
2013-05-05 10:21:35 -07:00
jwilson
562522f7c7 Use the latest mockwebserver 2013-05-05 13:19:03 -04:00
jwilson
31ff3d56ef Use daemon threads in the connection pool. 2013-05-05 09:43:20 -04:00
Jesse Wilson
6ffacda5b1 Merge pull request #166 from square/jw/pom-updates
Pom version updates. Drop unused dependencies.
2013-05-05 06:27:05 -07:00
jwilson
d9872fdd71 Overview for the OkHttp website. 2013-05-05 09:20:05 -04:00
Jake Wharton
59b1c1dc52 Pom version updates. Drop unused dependencies. 2013-05-05 00:49:08 -07:00
Jake Wharton
112d3caac5 Merge branch 'master' of https://github.com/square/okhttp 2013-05-04 20:19:56 -07:00
Jesse Wilson
3516616852 Merge pull request #162 from square/jwilson/hostname_verifier
Include a hostname verifier rather than using the system default.
2013-05-04 15:40:34 -07:00
Jake Wharton
60e5bc0871 Merge pull request #165 from square/jwilson/guide_examples
Dependency-free examples for the OkHttp front page.
2013-05-04 15:15:34 -07:00
jwilson
954e8f5453 Dependency-free examples for the OkHttp front page.
I'm going to include code snippets from these.
2013-05-04 17:41:03 -04:00
jwilson
870ae218c7 Include a hostname verifier rather than using the system default.
On desktop Java the system default hostname verifier doesn't do
anything. Instead HttpURLConnection does its own hostname verification
and the pluggable verifier simply supplements that.

Android's hostname verifier does everything directly.

This change copies Android's hostname verifier into OkHttp. This way
we can do hostname verification on the desktop, which wasn't possible
previously. It also brings along Android's hostname verifier tests.
Two of these tests fail on desktop Java due to differences in support
for non-ASCII subject alt names. Without our own certificate parsing
we simply live with the difference.
2013-05-04 10:40:09 -04:00
Jesse Wilson
806caed202 Merge pull request #161 from square/jw/apache-readme
Give the Apache module its own readme.
2013-05-04 05:13:05 -07:00
Jesse Wilson
ab855b793a Merge pull request #159 from square/jw/readme-tweaks
Updates to readme.
2013-05-04 05:12:45 -07:00
Jesse Wilson
f1981176e0 Merge pull request #160 from square/jw/doc-fix
Minor doc fix.
2013-05-04 05:12:13 -07:00