Skip to content

Commit

Permalink
bug fix per issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Dec 26, 2016
1 parent e17c1d1 commit f831466
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repositories {
}
dependencies {
compile 'com.commonsware.cwac:netsecurity:0.3.0'
compile 'com.commonsware.cwac:netsecurity:0.3.1'
compile 'com.squareup.okhttp3:okhttp:3.5.0'
}
```
Expand Down Expand Up @@ -185,7 +185,7 @@ Otherwise, there are no external dependencies.

## Version

The current version is **0.3.0**.
The current version is **0.3.1**.

## Demo

Expand Down Expand Up @@ -231,6 +231,7 @@ Do not ask for help via social media.

|Library Version|AOSP Code Base |Release Notes|
|:-------------:|:------------------------------------------------------------------------------------------------------:|-------------|
|v0.3.1 |Android 7.1 source code from the SDK, plus [the `android-7.1.0_r7` tagged edition of `conscrypt`](https://android.googlesource.com/platform/external/conscrypt/+/android-7.1.0_r7)|bug fix per [issue #7](https://github.com/commonsguy/cwac-netsecurity/issues/7)|
|v0.3.0 |Android 7.1 source code from the SDK, plus [the `android-7.1.0_r7` tagged edition of `conscrypt`](https://android.googlesource.com/platform/external/conscrypt/+/android-7.1.0_r7)|`user` validation per [issue #5](https://github.com/commonsguy/cwac-netsecurity/issues/5)|
|v0.2.1 |Android 7.1 source code from the SDK, plus [the `android-7.1.0_r7` tagged edition of `conscrypt`](https://android.googlesource.com/platform/external/conscrypt/+/android-7.1.0_r7)|bug fix per [issue #3](https://github.com/commonsguy/cwac-netsecurity/issues/3)|
|v0.2.0 |Android 7.0 source code from the SDK, plus [the `android-7.0.0_r1` tagged edition of `conscrypt`](https://android.googlesource.com/platform/external/conscrypt/+/android-7.0.0_r1)|`HttpURLConnection` no longer requires `setHost()` call|
Expand Down
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
compile 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
debugCompile project(':netsecurity')
releaseCompile 'com.commonsware.cwac:netsecurity:0.3.0'
releaseCompile 'com.commonsware.cwac:netsecurity:0.3.1'
compile 'com.squareup.okhttp3:okhttp:3.5.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ public static String slurp(final InputStream is)
out.append(buffer, 0, rsz);
}

is.close();

return out.toString();
}

Expand Down

0 comments on commit f831466

Please sign in to comment.